2D Toolkit Forum
2D Toolkit => Support => Topic started by: anguis on November 20, 2013, 10:04:01 pm
-
In the editor lights appear as it should, but the game window is showing only a little square of light.
That is on orthographic projection, if changed to perspective everything works properly.
-
Its a bug in Unity. They broke it in 4.0 (I think), fixed it in 4.2, broke it again in 4.3. I've reported it, dunno when it'll get fixed again.
-
Thanks, it's sad to know that isn't a tk2d problem, you could fix it one thousand times faster than unity :-\
Using perspective projection you recommend yours camera or a standard one?
In 2dtk camera there is a sort mode {orthographic, perspective, default }, what is that?
-
For perspective both work fine, ours is just a thin wrapper around the unity camera. The sort mode will ensure things are sorted correctly. For sprites, you probably want orthographic sort mode.
-
This seems to be active again. Is there no way around it? Other than setting up another camera I mean (having perspective camera is not an option).
Thanks,
Kreso
edit (I'm using Unity 4.5.4f1 pro)
-
No, they broke it again. But, the good news is they have fixed it. Dunno which version of unity it'll be in though...
-
This is turning out to be an issue for me.
Could you confirm latest version of Unity (or any version of Unity) that has it working?
Thanks a bunch,
Kreso
-
I don't have it installed but it worked fine in 3.x, broke in 4.0. After that I think it was fixed in Unity 4.2 and broke again in 4.3. Its fixed in a yet unreleased version, I read it in one of the release notes of a beta.