Shader fixes

This commit is contained in:
luboslenco
2019-06-06 12:54:44 +02:00
parent 3a1e826fd3
commit e558a7bd7a
10 changed files with 134 additions and 64 deletions
+2 -1
View File
@@ -186,7 +186,8 @@ class RenderPathDeferred {
lastY = mouse.y;
if (!UITrait.inst.dirty()) {
if (mx != lastX || my != lastY || UITrait.inst.ddirty > -2 || mouse.locked) {
if (mx != lastX || my != lastY || mouse.locked) UITrait.inst.ddirty = 0;
if (UITrait.inst.ddirty > -2) {
path.setTarget("");
path.bindTarget(taaFrame % 2 == 0 ? "taa" : "taa2", "tex");
ssaa4 ?