Link Search Menu Expand Document

HLSL Basics

Learning HLSL coding in the form of writing Unity shaders in the Cg language, from the great Freya Holmér’s Intro to Shader Coding in Unity.

  • Normal colors
  • UV color
  • World position color
  • Fake lighting
  • Diffuse color
  • Specular highlight
  • Cell shading
  • Stepped cell shading

Waves from input texture using time and sin(), for shoreline effects