summaryrefslogtreecommitdiffstats
path: root/pbr.cginc
diff options
context:
space:
mode:
Diffstat (limited to 'pbr.cginc')
-rwxr-xr-xpbr.cginc3
1 files changed, 0 insertions, 3 deletions
diff --git a/pbr.cginc b/pbr.cginc
index b7392f7..c8e58c8 100755
--- a/pbr.cginc
+++ b/pbr.cginc
@@ -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);