mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -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):
|
||||
return buffer
|
||||
if (depthtex):
|
||||
buffer.addRenderTexture(depthtex, GraphicsOutput.RTMBindOrCopy, GraphicsOutput.RTPDepthStencil)
|
||||
buffer.addRenderTexture(depthtex, GraphicsOutput.RTMBindOrCopy, GraphicsOutput.RTPDepth)
|
||||
if (colortex):
|
||||
buffer.addRenderTexture(colortex, GraphicsOutput.RTMBindOrCopy, GraphicsOutput.RTPColor)
|
||||
if (auxtex0):
|
||||
|
Loading…
x
Reference in New Issue
Block a user