diff options
| author | yum <yum.food.vr@gmail.com> | 2025-05-26 17:30:05 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-05-26 17:30:05 -0700 |
| commit | ed7bb9bbfad50edb88d16005618f2487434d61c4 (patch) | |
| tree | 136f126d5e148c39f2e90dc520e6c5b7bfa81140 /2ner.cginc | |
| parent | 5c54a56dd2416aaf82d7f5d56063c0a306574d19 (diff) | |
Add vrc light volumes, double decal slots
Light volumes: https://github.com/REDSIM/VRCLightVolumes
Diffstat (limited to '2ner.cginc')
| -rw-r--r-- | 2ner.cginc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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;
|
