Add leenkx/Sources/leenkx/logicnode/AutoExposureGetNode.hx

This commit is contained in:
Onek8 2025-06-02 18:27:31 +00:00
parent 9749467cd7
commit 741a12de78

View File

@ -0,0 +1,16 @@
package leenkx.logicnode;
class AutoExposureGetNode extends LogicNode {
public function new(tree:LogicTree) {
super(tree);
}
override function get(from:Int):Dynamic {
return switch (from) {
case 0: leenkx.renderpath.Postprocess.auto_exposure_uniforms[0];
case 1: leenkx.renderpath.Postprocess.auto_exposure_uniforms[1];
default: 0.0;
}
}
}