Added SceneData texture as the second colorbuffer when rendering a scene and placed fog data into it
This commit is contained in:
parent
9af34bac69
commit
d774136282
8 changed files with 115 additions and 24 deletions
|
|
@ -323,7 +323,7 @@ void FGLRenderer::Begin2D()
|
|||
if (mBuffers->Setup(mScreenViewport.width, mScreenViewport.height, mSceneViewport.width, mSceneViewport.height))
|
||||
{
|
||||
if (mDrawingScene2D)
|
||||
mBuffers->BindSceneFB();
|
||||
mBuffers->BindSceneFB(false);
|
||||
else
|
||||
mBuffers->BindCurrentFB();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue