60f72e7e0e
Redone and ready to be merged with Armory
18 lines
404 B
Haxe
18 lines
404 B
Haxe
package armory.logicnode;
|
|
|
|
class SSAOSetNode extends LogicNode {
|
|
|
|
public function new(tree:LogicTree) {
|
|
super(tree);
|
|
}
|
|
|
|
override function run(from:Int) {
|
|
|
|
armory.renderpath.Postprocess.ssao_uniforms[0] = inputs[1].get();
|
|
armory.renderpath.Postprocess.ssao_uniforms[1] = inputs[2].get();
|
|
armory.renderpath.Postprocess.ssao_uniforms[2] = inputs[3].get();
|
|
|
|
runOutput(0);
|
|
}
|
|
}
|