summaryrefslogtreecommitdiffstats
path: root/Impostor.shader
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2026-01-13 20:42:27 -0800
committeryum <yum.food.vr@gmail.com>2026-01-13 22:27:33 -0800
commitad551018904f13b8af0d1c4c2aa8380ac57de89a (patch)
tree9915d06a03988cacd3c13131edc32946d7c9876d /Impostor.shader
parent6df5a9a34d81d1200231b974fcc85f89e80eb63e (diff)
Impostors: fix depth capture
Diffstat (limited to 'Impostor.shader')
-rw-r--r--Impostor.shader3
1 files changed, 3 insertions, 0 deletions
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