UnityEngineClipping Pixels2022-10

Clipping pixels in a Built-in RP shader in Unity, using the Cg programming language
CgBuilt-in RPShaderLabUnityVertex ShaderFragment Shader
View on GitHub

Implementation

  • Clipping using Perlin Noise.
  • Clipping using cosine function of the Object position of vertices.
  • Shadow casting and culling manipulation.
  • Implement a basic Lambert lighting model for better graphic appreciation of the clipping effect.