mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +00:00
ground-cover -- Adds an ambient modulation bias to control how much the foliage images are modulated by the sun's ambient light setting.
full modulation -- 1.0 (default) no modulation -- 0.0
This commit is contained in:
parent
ae2bedccee
commit
62500487f1
2 changed files with 23 additions and 1 deletions
|
|
@ -20,6 +20,11 @@
|
|||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||
// Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames
|
||||
// Copyright (C) 2015 Faust Logic, Inc.
|
||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||
|
||||
#ifndef _FOLIAGEREPLICATOR_H_
|
||||
#define _FOLIAGEREPLICATOR_H_
|
||||
|
||||
|
|
@ -319,6 +324,7 @@ public:
|
|||
U32 mPlacementBandHeight;
|
||||
LinearColorF mPlaceAreaColour;
|
||||
|
||||
F32 mAmbientModulationBias;
|
||||
tagFieldData()
|
||||
{
|
||||
// Set Defaults.
|
||||
|
|
@ -377,6 +383,7 @@ public:
|
|||
mShowPlacementArea = true;
|
||||
mPlacementBandHeight = 25;
|
||||
mPlaceAreaColour .set(0.4f, 0, 0.8f);
|
||||
mAmbientModulationBias = 1.0f;
|
||||
}
|
||||
|
||||
} mFieldData;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue