diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-07-29 13:56:06 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-07-29 13:56:06 +0200 |
commit | 581cb5edfa39a263bcbcdf3e37c608a5c7758849 (patch) | |
tree | 2b25ac08ac733d3a72bd52dfbdd3028c60ce4c37 /src/render | |
parent | synch fakerw with reVC; update librw (diff) | |
download | re3-581cb5edfa39a263bcbcdf3e37c608a5c7758849.tar re3-581cb5edfa39a263bcbcdf3e37c608a5c7758849.tar.gz re3-581cb5edfa39a263bcbcdf3e37c608a5c7758849.tar.bz2 re3-581cb5edfa39a263bcbcdf3e37c608a5c7758849.tar.lz re3-581cb5edfa39a263bcbcdf3e37c608a5c7758849.tar.xz re3-581cb5edfa39a263bcbcdf3e37c608a5c7758849.tar.zst re3-581cb5edfa39a263bcbcdf3e37c608a5c7758849.zip |
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/Shadows.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/Shadows.cpp b/src/render/Shadows.cpp index d07c302a..c169c351 100644 --- a/src/render/Shadows.cpp +++ b/src/render/Shadows.cpp @@ -796,6 +796,8 @@ CShadows::RenderStaticShadows(void) RwRenderStateSet(rwRENDERSTATEVERTEXALPHAENABLE, (void *)TRUE); RwRenderStateSet(rwRENDERSTATEFOGENABLE, (void *)FALSE); + SetAlphaTest(0); + for ( int32 i = 0; i < MAX_STATICSHADOWS; i++ ) aStaticShadows[i].m_bRendered = false; @@ -849,6 +851,7 @@ CShadows::RenderStaticShadows(void) RenderBuffer::RenderStuffInBuffer(); } } + RestoreAlphaTest(); RwRenderStateSet(rwRENDERSTATEVERTEXALPHAENABLE, (void *)FALSE); RwRenderStateSet(rwRENDERSTATEZWRITEENABLE, (void *)TRUE); |