Skip to content

Instantly share code, notes, and snippets.

Shader "Custom/WorldSpaceExample"
{
Properties
{
[Toggle(ENABLE_DEBUG)]
_Lighting ("Enable Debug", Float) = 1
_MainTex("Diffuse", 2D) = "white" {}
_MaskTex("Mask", 2D) = "white" {}
_NormalMap("Normal Map", 2D) = "bump" {}