diff options
Diffstat (limited to 'pbr.cginc')
| -rwxr-xr-x | pbr.cginc | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -146,8 +146,6 @@ void apply_marble(float3 world_pos, inout float3 albedo) { Pbr getPbr(v2f i) { Pbr pbr = (Pbr) 0; - instancing_frag(i); - float3 n = normalize(i.normal); float3 t = normalize(i.tangent.xyz); t = normalize(t - n * dot(n, t)); // Gram-Schmidt to avoid skew @@ -172,7 +170,6 @@ Pbr getPbr(v2f i) { pbr.metallic = imp.metallic; #if defined(_IMPOSTORS_DEPTH) pbr.objPos = imp.objPos; - pbr.debug = imp.debug; #endif #else pbr.albedo = _MainTex.Sample(aniso16_trilinear_repeat_s, uv_parallax * _MainTex_ST.xy + _MainTex_ST.zw); |
