summaryrefslogtreecommitdiffstats
path: root/2ner.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2026-01-20 23:57:11 -0800
committeryum <yum.food.vr@gmail.com>2026-01-20 23:57:11 -0800
commite54c87201b97fb36ef9c0e63f9e0012ac59f2f0b (patch)
tree2c9aab2ceb16518fa1671facd2736611508d63b4 /2ner.cginc
parentc9342de5bd708d309cd0df1e65fe668ecbb9a16a (diff)
Fix meta pass error
Diffstat (limited to '2ner.cginc')
-rw-r--r--2ner.cginc2
1 files changed, 1 insertions, 1 deletions
diff --git a/2ner.cginc b/2ner.cginc
index 0b5ee9f..0df4f17 100644
--- a/2ner.cginc
+++ b/2ner.cginc
@@ -254,7 +254,7 @@ void geom(triangle v2f input[3], inout TriangleStream<v2f> stream) {
o.worldPos.xyz += normal_ws * offset;
o.objPos.xyz += o.normal * offset;
o.pos = UnityWorldToClipPos(o.worldPos);
- o.vertexLight.w = layer;
+ o.vertexLight.w = t;
stream.Append(o);
}
stream.RestartStrip();