- change per-level attenuation of dynamic lights for each viewpoint.
To avoid unnecessary work, the current state is tracked.
This commit is contained in:
parent
6451b7d592
commit
4af5ea25c1
5 changed files with 16 additions and 7 deletions
|
|
@ -76,7 +76,7 @@ public:
|
|||
void SetSpot(bool spot) { if (spot) m_lightFlags |= LF_SPOT; else m_lightFlags &= ~LF_SPOT; }
|
||||
void SetSpotInnerAngle(double angle) { m_spotInnerAngle = angle; }
|
||||
void SetSpotOuterAngle(double angle) { m_spotOuterAngle = angle; }
|
||||
static void SetAttenuationForLevel();
|
||||
static void SetAttenuationForLevel(bool);
|
||||
|
||||
void OrderIntensities()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue