armory/Sources/armory/logicnode/BloomSetNode.hx
Alexander 60f72e7e0e Merge in PPM
Redone and ready to be merged with Armory
2020-03-04 17:45:19 +01:00

18 lines
408 B
Haxe

package armory.logicnode;
class BloomSetNode extends LogicNode {
public function new(tree:LogicTree) {
super(tree);
}
override function run(from:Int) {
armory.renderpath.Postprocess.bloom_uniforms[0] = inputs[1].get();
armory.renderpath.Postprocess.bloom_uniforms[1] = inputs[2].get();
armory.renderpath.Postprocess.bloom_uniforms[2] = inputs[3].get();
runOutput(0);
}
}