Add a new bin in the end of the pipeline

This commit is contained in:
Malin E
2022-11-03 10:29:53 +01:00
parent e749be21a5
commit 0bb6d25e2e
2 changed files with 4 additions and 3 deletions

View File

@@ -57,8 +57,9 @@ public:
Background = 1,
Opaque = 2,
PreDeferredTransparent = 4,
PostDeferredTransparent = 8,
Overlay = 16
Overlay = 8,
PostDeferredTransparent = 16,
Sticker = 32
};
static ghoul::mm_unique_ptr<Renderable> createFromDictionary(

View File

@@ -964,7 +964,7 @@ void FramebufferRenderer::updateResolution() {
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
if (glbinding::Binding::ObjectLabel.isResolved()) {
glObjectLabel(GL_TEXTURE, _exitColorTexture, -1, "Exit depth");
glObjectLabel(GL_TEXTURE, _exitDepthTexture, -1, "Exit depth");
}
_dirtyResolution = false;