diff options
author | aap <aap@papnet.eu> | 2020-08-20 12:53:17 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-08-20 12:53:17 +0200 |
commit | 764af8735c00a7f40a51f605fed3c73ce6413337 (patch) | |
tree | 3009c3e5da4a39e7e64446e654ee3689b8e91632 /src/rw/Lights.cpp | |
parent | transmission done (diff) | |
download | re3-764af8735c00a7f40a51f605fed3c73ce6413337.tar re3-764af8735c00a7f40a51f605fed3c73ce6413337.tar.gz re3-764af8735c00a7f40a51f605fed3c73ce6413337.tar.bz2 re3-764af8735c00a7f40a51f605fed3c73ce6413337.tar.lz re3-764af8735c00a7f40a51f605fed3c73ce6413337.tar.xz re3-764af8735c00a7f40a51f605fed3c73ce6413337.tar.zst re3-764af8735c00a7f40a51f605fed3c73ce6413337.zip |
Diffstat (limited to 'src/rw/Lights.cpp')
-rw-r--r-- | src/rw/Lights.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/rw/Lights.cpp b/src/rw/Lights.cpp index c5038232..3657e2c7 100644 --- a/src/rw/Lights.cpp +++ b/src/rw/Lights.cpp @@ -10,6 +10,8 @@ #include "Frontend.h" #include "MBlur.h" +//--MIAMI: done + RpLight *pAmbient; RpLight *pDirect; RpLight *pExtraDirectionals[4] = { nil }; @@ -30,7 +32,6 @@ RwRGBAReal DirectionalLightColour; #define USEBLURCOLORS CMBlur::BlurOn #endif -//--MIAMI: done void SetLightsWithTimeOfDayColour(RpWorld *) { @@ -309,6 +310,14 @@ ActivateDirectional(void) RpLightSetFlags(pDirect, rpLIGHTLIGHTATOMICS); } +RwRGBAReal FullLight = { 1.0f, 1.0f, 1.0f, 1.0f }; + +void +SetFullAmbient(void) +{ + RpLightSetColor(pAmbient, &FullLight); +} + void SetAmbientColours(void) { |