mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 11:20:07 +00:00
fix backface culling
This commit is contained in:
parent
00da91b73f
commit
013e9b9992
|
@ -1158,6 +1158,7 @@ MattRenderScene(void)
|
||||||
// CMattRenderer::ResetRenderStates
|
// CMattRenderer::ResetRenderStates
|
||||||
/// CRenderer::ClearForFrame(); // before ConstructRenderList
|
/// CRenderer::ClearForFrame(); // before ConstructRenderList
|
||||||
// CClock::CalcEnvMapTimeMultiplicator
|
// CClock::CalcEnvMapTimeMultiplicator
|
||||||
|
RwRenderStateSet(rwRENDERSTATECULLMODE, (void*)rwCULLMODECULLNONE);
|
||||||
CWaterLevel::RenderWater(); // actually CMattRenderer::RenderWater
|
CWaterLevel::RenderWater(); // actually CMattRenderer::RenderWater
|
||||||
// CClock::ms_EnvMapTimeMultiplicator = 1.0f;
|
// CClock::ms_EnvMapTimeMultiplicator = 1.0f;
|
||||||
// cWorldStream::ClearDynamics
|
// cWorldStream::ClearDynamics
|
||||||
|
@ -1179,6 +1180,7 @@ if(gbRenderBoats)
|
||||||
CRenderer::RenderBoats();
|
CRenderer::RenderBoats();
|
||||||
if(gbRenderFadingInUnderwaterEntities)
|
if(gbRenderFadingInUnderwaterEntities)
|
||||||
CRenderer::RenderFadingInUnderwaterEntities();
|
CRenderer::RenderFadingInUnderwaterEntities();
|
||||||
|
RwRenderStateSet(rwRENDERSTATECULLMODE, (void*)rwCULLMODECULLNONE);
|
||||||
if(gbRenderWater)
|
if(gbRenderWater)
|
||||||
CRenderer::RenderTransparentWater();
|
CRenderer::RenderTransparentWater();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue