Browse Source

Fix temporalBloom missing texture

ShiroSmith 5 years ago
parent
commit
ac1fedfd30
1 changed files with 1 additions and 0 deletions
  1. 1 0
      hrt/prefab/rfx/TemporalBloom.hx

+ 1 - 0
hrt/prefab/rfx/TemporalBloom.hx

@@ -219,6 +219,7 @@ class TemporalBloom extends RendererFX {
 				ctx.engine.popTarget();
 			}
 
+			tonemap.bloomTexture = curTarget;
 			r.addShader(tonemap);
 		}
 	}