add a material parameter to control shadow far attenuation

FIXES=[436680157]
This commit is contained in:
Mathias Agopian
2025-08-13 20:22:45 -07:00
committed by Mathias Agopian
parent 45f68909d7
commit bbf0754183
9 changed files with 41 additions and 0 deletions
+17
View File
@@ -1217,6 +1217,23 @@ material {
}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
### General: shadowFarAttenuation
Type
: `boolean`
Value
: `true` or `false`. Defaults to `true`.
Description
: When set to `false`, the directional light shadow is no longer attenuated at near the far plane.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ JSON
material {
shadowFarAttenuation : true
}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
### General: quality
Type