From b925b4b1bf79e3d6f930a4d799a7194673b62bde Mon Sep 17 00:00:00 2001 From: yum Date: Sat, 17 Jan 2026 17:35:13 -0800 Subject: Impostors: continue work on depth, getting closer --- pbr.cginc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pbr.cginc') diff --git a/pbr.cginc b/pbr.cginc index 2aa6be7..076cf65 100644 --- a/pbr.cginc +++ b/pbr.cginc @@ -26,6 +26,7 @@ struct Pbr { #endif #if defined(_IMPOSTORS) float3 objPos; + float debug; // TODO rm #endif }; @@ -170,6 +171,7 @@ Pbr getPbr(v2f i) { pbr.smoothness = imp.smoothness; pbr.metallic = imp.metallic; pbr.objPos = imp.objPos; + pbr.debug = imp.debug; #else pbr.albedo = _MainTex.Sample(aniso16_trilinear_repeat_s, uv_parallax * _MainTex_ST.xy + _MainTex_ST.zw); pbr.albedo *= _Color; -- cgit v1.2.3