2D Toolkit Forum

2D Toolkit => Support => Topic started by: subzaku on March 27, 2015, 06:04:55 am

Title: 2D lighting problem
Post by: subzaku on March 27, 2015, 06:04:55 am
Hi, i'm trying to use unity lighting on tk2d sprite

i used litblendvertexcolor shader and it works but there is one problem, the light is pretty bright around the edge and a bit dim in the middle
i used point light by unity

did anyone had the same problem? thanks
Title: Re: 2D lighting problem
Post by: unikronsoftware on March 28, 2015, 03:12:42 pm
I can't tell what its meant to look like - you could use the unity lit sprite shader, that should work fine here too - the tk2d one is vertex lit, the unity one should probably work with pixel lights - the result should look nicer at the expense of performance.