Skip to main content
100%

Template shader to use as guide to create Lightweight Pipeline ready shaders.

✓ Published0🌍 Public
Aandybak
Last edited Jul 6, 2018
Created on Aug 5, 2018

This shader template provides a starting point for authoring physically based shaders compatible with Unity’s Lightweight Pipeline, using HLSL. It shows the required shader properties, keyword definitions, and pass structure for forward rendering, including surface options like metallic/specular workflow, albedo, normal mapping, occlusion, and emission. The code references the LightweightPipeline tag and LightweightForward pass, with multi_compile directives for additional lights, shadows, and fog. It is intended as a reference only, not a performance-complete standard shader.

AI-generated description

Similar vizzes