Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - n0mad

Pages: [1]
1
Support / 3.5, and the drawcall inflation effect.
« on: March 20, 2012, 06:37:54 pm »
I already had some drawcall rising problems with 3D objects, as mentionned in this thread.

But Joachim said it was because of projectors, and lighmapping now being taken by dynamic lights.
Except .... I'm now experiencing this filthly famous drawcall rising with .... my HUD.
I'm counting a difference of 9 drawcalls instead of 3 in the Editor (HUD + 2 fonts), whenever I activate/deactivate the HUD.

This HUD is entirely managed by 2DToolkit, and is using 1 Atlas + the builtin PremulVertexShader, so it should really be only 3 drawcalls.

I'd like to know if anyone is experiencing the same, or if the problem is reproduced at Unikron Software.

Thanks.

2
Support / Multiple Materials in a single Collection ?
« on: March 01, 2012, 10:00:43 pm »
Hello,

To enable an effect on a particular sprite, I need to assign a different material (different shader in fact, but as Shaders are bound to materials ...) than the one generated by Commit().

Whenever I put a new one into the Collection material list, and I click Commit, the list is wiped and the new material kicked out. How can I keep this material on my specific sprite without it being reverted to the generated one whenever I click Commit() ? (Commit has to happen, like when I want to add a new sprite)

3
Support / Error in Editor while reimporting a texture
« on: February 06, 2012, 06:41:51 pm »
Hello,

Unity is giving several warning about DestroyImeediate when reimporting a texture for an already existing sprite in Editor.
It is asking to put "true" in DestroyImmediate if object destruction is required (to prevent asset destruction).

Concerned lines are in tk2dBaseSprite.cs :
line 300
line 304
line 306

Should be changed to :

DestroyImmediate(theObject, true);

Pages: [1]