mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-26 15:49:30 +00:00
Hides some light fields for local lights that are intended for PSSM's, thus useless.
Also disables the Paraboloid shadowmap type, as it is non-functional. Disabled light animations by default so as to not waste processing time if not needed Sets point lights' shadow types to be cubemap by default, and lowers the overdark factor to make them look cleaner and not exacerbate aliasing.
This commit is contained in:
parent
9e792845f7
commit
695ad6357f
5 changed files with 21 additions and 4 deletions
|
|
@ -110,6 +110,11 @@ void SpotLight::initPersistFields()
|
|||
// Remove the scale field... it's already
|
||||
// defined by the range and angle.
|
||||
removeField( "scale" );
|
||||
|
||||
//These are particular fields for PSSM, so useless for point lights
|
||||
removeField("numSplits");
|
||||
removeField("logWeight");
|
||||
removeField("lastSplitTerrainOnly");
|
||||
}
|
||||
|
||||
void SpotLight::_conformLights()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue