add a material parameter to control shadow far attenuation
FIXES=[436680157]
This commit is contained in:
committed by
Mathias Agopian
parent
45f68909d7
commit
bbf0754183
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user