浏览代码

[render] Temporal bloom live update

Clément Espeute 6 月之前
父节点
当前提交
59c81d0ac5
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      hrt/prefab/rfx/TemporalBloom.hx

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

@@ -189,7 +189,9 @@ class TemporalBloom extends RendererFX {
 			<dt>Strength</dt><dd><input type="range" min="0" max="1" field="temporalStrength"/></dd>
 			</dl>
 		</div>
-		'),this);
+		'),this, (pname: String) -> {
+			ctx.onChange(this, pname);
+		});
 	}
 	#end