mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
Fix depth-based filters (like SSAO) on Windows
This commit is contained in:
parent
754cb8e4bc
commit
d6666e5aa3
@ -291,7 +291,7 @@ class FilterManager(DirectObject):
|
|||||||
if (buffer == None):
|
if (buffer == None):
|
||||||
return buffer
|
return buffer
|
||||||
if (depthtex):
|
if (depthtex):
|
||||||
buffer.addRenderTexture(depthtex, GraphicsOutput.RTMBindOrCopy, GraphicsOutput.RTPDepthStencil)
|
buffer.addRenderTexture(depthtex, GraphicsOutput.RTMBindOrCopy, GraphicsOutput.RTPDepth)
|
||||||
if (colortex):
|
if (colortex):
|
||||||
buffer.addRenderTexture(colortex, GraphicsOutput.RTMBindOrCopy, GraphicsOutput.RTPColor)
|
buffer.addRenderTexture(colortex, GraphicsOutput.RTMBindOrCopy, GraphicsOutput.RTPColor)
|
||||||
if (auxtex0):
|
if (auxtex0):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user