Toon shader for 2d sprtes with normal map
I'm using anima2D in my game and basically i want to give a toon effect to my sprites but since its for 2D i guess i have to use a normal map to get this effect. The problem is that i dont have a lot of knowledges with shader and i dont know how set the normal map into my shader, here is what i have so far :
To simplify : i have this sprite (1) used by Anima2D, so its distorded by a bone and rendered via a SkinnedMeshRenderer, and this normal map (2), the result i want to achieve is (3) using a directionnal light. Sorry if my question isnt very clear, i dont even really have a question , im just looking for some advices / tutorials / hints that can help me, assuming its possible to achieve this effect in 2d (?) i've made a lot of reshearch but i havent found any answers for this specific effect for 2d.
Thank you in advance for your answers and for you patience, cheers.
Your answer
Follow this Question
Related Questions
Sprite Normal Map Outline 1 Answer
Having weird problems in shader,Coding a custom 2d lighting shader 0 Answers
2d normal map inverts highlight/shadow workaround help 1 Answer
2D shader / lighting like Terraria or Starbound 2 Answers
How do you access light information in a 2D sprite shader? 0 Answers