Unity3D 4.3 sprite shader experiment

Опубликовано: 01 Июнь 2026
на канале: Jesús Alonso Abad
16,450
52

UPDATE: tutorial and resources now available!
http://kencho-dev-blog.blogspot.com.e...

So I tried Unity3D 4.3 tonight and made my own sprite shader :) Created a normal map in Photoshop from a spritesheet I downloaded from the web (just to have something to start working with; it's just an experiment). The shader supports per-pixel lighting (diffuse+specular; light cookies supported), emissive map, and a rim-lighting effect. Of course this is probably too much for any practical 2D game, but it's nice to know these things are possible with the new 2D support! :)