Update leenkx/Sources/leenkx/renderpath/RenderPathForward.hx

This commit is contained in:
2025-08-28 19:21:48 +00:00
parent ad4013ed75
commit 8fd05d5514

View File

@ -673,6 +673,15 @@ class RenderPathForward {
}
#end
#if rp_overlays
{
path.setTarget(target);
path.clearTarget(null, 1.0);
path.drawMeshes("overlay");
}
#end
#if ((rp_antialiasing == "SMAA") || (rp_antialiasing == "TAA"))
{
path.setTarget("bufa");
@ -703,12 +712,6 @@ class RenderPathForward {
}
#end
#if rp_overlays
{
path.clearTarget(null, 1.0);
path.drawMeshes("overlay");
}
#end
}
public static function setupDepthTexture() {