From ad551018904f13b8af0d1c4c2aa8380ac57de89a Mon Sep 17 00:00:00 2001 From: yum Date: Tue, 13 Jan 2026 20:42:27 -0800 Subject: Impostors: fix depth capture --- Impostor.shader | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Impostor.shader') diff --git a/Impostor.shader b/Impostor.shader index 1dff6c9..f2eb602 100644 --- a/Impostor.shader +++ b/Impostor.shader @@ -3,11 +3,14 @@ Shader "yum_food/Gimmicks/Impostors" Properties { _ImpostorAtlas("Impostor Atlas", 2D) = "white" {} + _ImpostorDepthAtlas("Impostor Depth Atlas", 2D) = "white" {} _GridResolution("Grid Resolution", Int) = 5 + _SphereRadius("Sphere Radius", Float) = 1.0 _Cutoff("Alpha Cutoff", Range(0, 1)) = 0.5 _Color("Tint", Color) = (1, 1, 1, 1) [Toggle] _DebugMode("Debug Mode", Float) = 0 + [Toggle] _DebugDepth("Debug Depth", Float) = 0 [Enum(UnityEngine.Rendering.CullMode)] _Cull("Cull", Float) = 0 [Enum(Off, 0, On, 1)] _ZWrite("ZWrite", Int) = 1 -- cgit v1.2.3