diff options
| author | yum <yum.food.vr@gmail.com> | 2025-02-12 16:22:50 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-02-12 16:22:50 -0800 |
| commit | 3087ea990dfea49c32a8a9d9f6ac9c1790817efc (patch) | |
| tree | de3106b1c774e1d3ed0f7cfddb45595a401f67b5 /yum_lighting.cginc | |
| parent | 19bdcec2b69aff8b75d5c9c6c4d0cb4d0d9ec5c3 (diff) | |
Remove normal shadowing feature
Diffstat (limited to 'yum_lighting.cginc')
| -rw-r--r-- | yum_lighting.cginc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/yum_lighting.cginc b/yum_lighting.cginc index 6cca5e2..4022764 100644 --- a/yum_lighting.cginc +++ b/yum_lighting.cginc @@ -132,11 +132,6 @@ YumLighting GetYumLighting(v2f i, YumPbr pbr) { #endif
light.attenuation = getShadowAttenuation(i);
-#if defined(_BUMP_SHADOWS)
- float noise = noiseR2(i.pos.xy);
- float nm_shade = NormalTangentShadow(i.uv01, i.lightDirTS, noise);
- light.attenuation = min(light.attenuation, max(1-nm_shade, 0));
-#endif
return light;
}
|
