Fix issue with side by side stereo rendering

This commit is contained in:
Malin E
2023-03-09 11:59:44 +01:00
parent 184a8b59ac
commit 3cd2cfac93
3 changed files with 36 additions and 4 deletions

View File

@@ -123,7 +123,8 @@ private:
// Opacity program
ghoul::opengl::ProgramObject* _quadProgram = nullptr;
UniformCache(opacity, colorTexture, depthTexture) _uniformOpacityCache;
UniformCache(opacity, colorTexture, depthTexture, viewport,
resolution) _uniformOpacityCache;
// Store the original RenderBin
Renderable::RenderBin _originalRenderBin;