mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02:00
Disable sharpen with FXAA
This commit is contained in:
parent
095f426f31
commit
6a550e983f
1 changed files with 2 additions and 1 deletions
|
@ -366,7 +366,8 @@ void Antialiasing::run(const render::RenderContextPointer& renderContext, const
|
|||
batch.setPipeline(getDebugBlendPipeline());
|
||||
} else {
|
||||
batch.setPipeline(getBlendPipeline());
|
||||
batch._glUniform1f(_sharpenLoc, _sharpen);
|
||||
// Disable sharpen if FXAA
|
||||
batch._glUniform1f(_sharpenLoc, _sharpen * _params.get().regionInfo.z);
|
||||
}
|
||||
batch.setResourceFramebufferSwapChainTexture(AntialiasingPass_NextMapSlot, _antialiasingBuffers, 1);
|
||||
batch.draw(gpu::TRIANGLE_STRIP, 4);
|
||||
|
|
Loading…
Reference in a new issue