From ed7bb9bbfad50edb88d16005618f2487434d61c4 Mon Sep 17 00:00:00 2001 From: yum Date: Mon, 26 May 2025 17:30:05 -0700 Subject: Add vrc light volumes, double decal slots Light volumes: https://github.com/REDSIM/VRCLightVolumes --- 2ner.cginc | 3 +++ 1 file changed, 3 insertions(+) (limited to '2ner.cginc') diff --git a/2ner.cginc b/2ner.cginc index f37a45e..bac9ee6 100644 --- a/2ner.cginc +++ b/2ner.cginc @@ -280,6 +280,9 @@ float4 frag(v2f i, uint facing : SV_IsFrontFace float4 lit = YumBRDF(i, l, pbr); + lit.rgb += LightVolumeSpecular(pbr.albedo, pbr.smoothness, pbr.metallic, + pbr.normal, l.view_dir, l.L00, l.L01r, l.L01g, l.L01b); + #if defined(_HARNACK_TRACING) pbr.albedo = harnack_output.color; pbr.smoothness = 0; -- cgit v1.2.3