summaryrefslogtreecommitdiffstats
path: root/custom30.cginc
diff options
context:
space:
mode:
Diffstat (limited to 'custom30.cginc')
-rw-r--r--custom30.cginc4
1 files changed, 3 insertions, 1 deletions
diff --git a/custom30.cginc b/custom30.cginc
index 6e81c44..2d407ca 100644
--- a/custom30.cginc
+++ b/custom30.cginc
@@ -214,7 +214,9 @@ Custom30Output BasicWedge(v2f i) {
}
Custom30Output o;
- //clip(epsilon - d);
+#if !defined(_DEPTH_PREPASS)
+ clip(epsilon - d);
+#endif
float3 objPos = ro + rd * d_acc;
o.objPos = objPos;
// Transform from SDF space back to object space