Interactive Sand – Stylized Desert Scene

Shader practice in URP using HLSL

Some assets are free assets online

  • Performed Tessellation algorithm based on camera distance by setting the Hull shader and Domain shader
  • set noise map as displacement in the direction of normal to make vertex offset.
  • Used RenderTexture, particle system, and orthographic camera to track character movement, and move vertices with the guide of normal.
  • Support multiple lights, casting and receiving shadows. Realized the sparkle effect on the sand by sampling the noise map.