Unity

posted in: MOOC | 0

Noob to Pro Unity Shader Writing

  • Shaderlab – core unity shader language, required in all shaders, very basic
  • CG, nvidia, powerful
  • GLSL, mobile shader, very similar to CG.
  • Float, Half (+-60000 range, 3.3 decimal precision), Fixed +- 2.0 range, 1/256 precision, most optimized 

Example Shader Code in Unity 5.4

Flat Color

Projective Texture

 

Fly Camera

 

 

Trigger

 

Leave a Reply