Fix dynamic resolution
This commit is contained in:
parent
ff3ca27aa9
commit
ff5cf50e4e
|
@ -383,14 +383,6 @@ class RenderPathDeferred {
|
|||
@:access(iron.RenderPath)
|
||||
public static function commands() {
|
||||
|
||||
#if rp_dynres
|
||||
{
|
||||
if (armory.data.Config.raw.rp_dynres != false) {
|
||||
DynamicResolutionScale.run(path);
|
||||
}
|
||||
}
|
||||
#end
|
||||
|
||||
path.setTarget("gbuffer0"); // Only clear gbuffer0
|
||||
#if (rp_background == "Clear")
|
||||
{
|
||||
|
@ -411,6 +403,14 @@ class RenderPathDeferred {
|
|||
|
||||
RenderPathCreator.setTargetMeshes();
|
||||
|
||||
#if rp_dynres
|
||||
{
|
||||
if (armory.data.Config.raw.rp_dynres != false) {
|
||||
DynamicResolutionScale.run(path);
|
||||
}
|
||||
}
|
||||
#end
|
||||
|
||||
#if rp_stereo
|
||||
{
|
||||
path.drawStereo(drawMeshes);
|
||||
|
|
Loading…
Reference in a new issue