mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 20:38:59 +00:00
fix new renderer
This commit is contained in:
parent
7c42ed6edb
commit
6122f6980b
1 changed files with 9 additions and 0 deletions
|
@ -1281,11 +1281,13 @@ void
|
||||||
RenderEffects_new(void)
|
RenderEffects_new(void)
|
||||||
{
|
{
|
||||||
PUSH_RENDERGROUP("RenderEffects_new");
|
PUSH_RENDERGROUP("RenderEffects_new");
|
||||||
|
/* // stupid to do this before the whole world is drawn!
|
||||||
CShadows::RenderStaticShadows();
|
CShadows::RenderStaticShadows();
|
||||||
// CRenderer::GenerateEnvironmentMap
|
// CRenderer::GenerateEnvironmentMap
|
||||||
CShadows::RenderStoredShadows();
|
CShadows::RenderStoredShadows();
|
||||||
CSkidmarks::Render();
|
CSkidmarks::Render();
|
||||||
CRubbish::Render();
|
CRubbish::Render();
|
||||||
|
*/
|
||||||
|
|
||||||
// these aren't really effects
|
// these aren't really effects
|
||||||
DefinedState();
|
DefinedState();
|
||||||
|
@ -1308,6 +1310,13 @@ if(gbRenderFadingInEntities)
|
||||||
CRenderer::RenderFadingInEntities();
|
CRenderer::RenderFadingInEntities();
|
||||||
|
|
||||||
// actual effects here
|
// actual effects here
|
||||||
|
|
||||||
|
// from above
|
||||||
|
CShadows::RenderStaticShadows();
|
||||||
|
CShadows::RenderStoredShadows();
|
||||||
|
CSkidmarks::Render();
|
||||||
|
CRubbish::Render();
|
||||||
|
|
||||||
CGlass::Render();
|
CGlass::Render();
|
||||||
// CMattRenderer::ResetRenderStates
|
// CMattRenderer::ResetRenderStates
|
||||||
DefinedState();
|
DefinedState();
|
||||||
|
|
Loading…
Reference in a new issue