Hello
Guest
Home
Help
Search
Login
Register
2D Toolkit Forum
»
2D Toolkit
»
Support
»
lights in tk2dSprite with tk2dCamera
« previous
next »
Print
Pages: [
1
]
Author
Topic: lights in tk2dSprite with tk2dCamera (Read 4507 times)
zeusrami
2D Toolkit
Newbie
Posts: 24
lights in tk2dSprite with tk2dCamera
«
on:
January 03, 2014, 10:33:46 am »
Hi, I want to create light effects in tk2dSprites when using the tk2dCamera in unity 4.2.1. Do you know how can I do it?
Regards,
Ramiro
Logged
unikronsoftware
Administrator
Hero Member
Posts: 9709
Re: lights in tk2dSprite with tk2dCamera
«
Reply #1 on:
January 03, 2014, 12:19:57 pm »
Enable normals on the sprite, change the shader to a lit shader, and then create a light. That will work in Unity 4.2.x with a tk2dCamera. Unfortunately Unity broke that behaviour in Unity 4.3, so until they fix it you may have to do hacks like this to work around it. (
http://2dtoolkit.com/forum/index.php/topic,3288.msg16055.html#msg16055
) I've reported the regression, but no news when it'll get fixed.
Logged
Print
Pages: [
1
]
« previous
next »
2D Toolkit Forum
»
2D Toolkit
»
Support
»
lights in tk2dSprite with tk2dCamera