2D Toolkit Forum

2D Toolkit => Support => Topic started by: Euthyphro on April 09, 2014, 03:32:29 pm

Title: Rendering path not lighting correctly
Post by: Euthyphro on April 09, 2014, 03:32:29 pm
The rendering path seems to be cutting out and only displaying within a small box as you can see in the image below. In the editor, the lighting looks good, but in the game-preview the rendering path only lights a small box.

(http://i.imgur.com/kk4tidLl.png) (http://imgur.com/kk4tidL)

I've tried tweaking the settings and adjusting, any suggestions?


Thanks.
Title: Re: Rendering path not lighting correctly
Post by: unikronsoftware on April 09, 2014, 06:50:33 pm
This is a regression of a unity bug, affecting custom projection matrices which tk2dCamera uses. You will have to adjust the "ortho size" property in the attached unity camera component, or use a normal ortho camera to work around this. I've reported this bug, but it took them close to a year to fix it the last time.