[orx-compositor] Use resolveTo instead of copy work better in multisampling setups
This commit is contained in:
@@ -172,7 +172,7 @@ open class Layer internal constructor() {
|
|||||||
localBlendFilter.first.apply(arrayOf(activeRenderTarget.colorBuffer(0), layerPost), activeRenderTarget.colorBuffer(0))
|
localBlendFilter.first.apply(arrayOf(activeRenderTarget.colorBuffer(0), layerPost), activeRenderTarget.colorBuffer(0))
|
||||||
}
|
}
|
||||||
|
|
||||||
accumulation?.copyTo(target.colorBuffer(0))
|
accumulation?.resolveTo(target.colorBuffer(0))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user