Hello,
I have a problem. I have to create pixel shader in UNITY. But I can’t find any information about implementation pixel shader to scene.
For example vertex shader I added to material, and pixel shader to what? To camera?
Hello,
I have a problem. I have to create pixel shader in UNITY. But I can’t find any information about implementation pixel shader to scene.
For example vertex shader I added to material, and pixel shader to what? To camera?
Ah - ok. Unity shaders are written in CG (“C for Graphics”) - a standard lanaguage that is similar to HLSL. You can view the method reference at http://http.developer.nvidia.com/Cg/index_stdlib.html