diff options
author | aap <aap@papnet.eu> | 2021-01-10 14:32:37 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-01-10 14:32:37 +0100 |
commit | c631e6c61c326ad17d4ee6483a8268720ea8a0f3 (patch) | |
tree | 3806b6059c89fd902432c9309e3ca6dd689c92d2 /src/render/Renderer.cpp | |
parent | dont render untextured world (diff) | |
download | re3-c631e6c61c326ad17d4ee6483a8268720ea8a0f3.tar re3-c631e6c61c326ad17d4ee6483a8268720ea8a0f3.tar.gz re3-c631e6c61c326ad17d4ee6483a8268720ea8a0f3.tar.bz2 re3-c631e6c61c326ad17d4ee6483a8268720ea8a0f3.tar.lz re3-c631e6c61c326ad17d4ee6483a8268720ea8a0f3.tar.xz re3-c631e6c61c326ad17d4ee6483a8268720ea8a0f3.tar.zst re3-c631e6c61c326ad17d4ee6483a8268720ea8a0f3.zip |
Diffstat (limited to '')
-rw-r--r-- | src/render/Renderer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index 3065027b..9ed556e4 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -1809,6 +1809,7 @@ CRenderer::GenerateEnvironmentMap(void) RwRenderStateSet(rwRENDERSTATEZTESTENABLE, (void*)FALSE); RwRenderStateSet(rwRENDERSTATEZWRITEENABLE, (void*)FALSE); RwRenderStateSet(rwRENDERSTATETEXTURERASTER, CPostFX::pBackBuffer); + RwRenderStateSet(rwRENDERSTATETEXTUREFILTER, (void*)rwFILTERLINEAR); RwRenderStateSet(rwRENDERSTATEVERTEXALPHAENABLE, (void*)FALSE); RwIm2DRenderIndexedPrimitive(rwPRIMTYPETRILIST, Screen2EnvQuad, 4, EnvQuadIndices, 6); RwRenderStateSet(rwRENDERSTATEZTESTENABLE, (void*)TRUE); |