Unity 3 launched recently, and with Surface Shaders we made it much easier to handle lighting, shadowing & rendering paths pieces of shaders. But Unity can run on so many platforms (some having very different shader languages), yet you can write a shader once, and somehow it "just works" on all platforms. How do we do that? I'm going to talk about some behind-the-scenes technology involved in compiling shaders.
Is this article helpful for you?
Thank you for your feedback!