diff options
| author | yum <yum.food.vr@gmail.com> | 2026-01-17 17:35:13 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2026-01-17 17:37:06 -0800 |
| commit | b925b4b1bf79e3d6f930a4d799a7194673b62bde (patch) | |
| tree | 1c45dbf95f66c4948ef6bcf64d9622b259fce624 /pbr.cginc | |
| parent | c6923a553c98da7805407fe1fbfdb6c69c8d7530 (diff) | |
Impostors: continue work on depth, getting closer
Diffstat (limited to 'pbr.cginc')
| -rw-r--r-- | pbr.cginc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |
