Shaders in Unity, Annexe 1 : Variables in Cg @shaderslaboratory8437
Shaders in Unity, Annexe 1 : Variables in Cg  @shaderslaboratory8437
Uploaded June 2017 | Updated September 2026, 2 days ago
Sorry for the accent / the mistakes. Thanks for watching!


Variables / Matrices :
en.wikipedia.org/wiki/Cg_(programming_language)#Data_types
en.wikibooks.org/wiki/Cg_Programming/Vector_and_Matrix_Operations
Shaders in Unity, Annexe 1 : Variables in CgUnity basic lighting shader : Ambient + Diffuse + Specular (Phong) + Emission (per fragment)Unity shader : Blur effect with Grab pass (Convolution)Shaders Laboratory : Channel trailerUnity shader : Distort a scene with Grab passUnity shader : Fading when too edgeUnity shader : Stencil effect (Invisible crate)Unity shader : Flatten a modelUnity shader : VHS tape effectUnity shader : Pit an object with a stencil shaderUnity shader : Flag with lightingUnity noise shader : Truchet pattern - Mesh
Anthony Bléchet |

Shaders in Unity, Annexe 1 : Variables in Cg

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER