more-adjustments

This commit is contained in:
Henrique 2020-10-01 19:18:58 -03:00
parent c8b828a6e9
commit dd655aa8e1
3 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,7 @@ class BloomGetNode extends LogicNode {
case 0: armory.renderpath.Postprocess.bloom_uniforms[0];
case 1: armory.renderpath.Postprocess.bloom_uniforms[1];
case 2: armory.renderpath.Postprocess.bloom_uniforms[2];
default: null;
default: 0.0;
}
}
}

View file

@ -10,7 +10,7 @@ class ChromaticAberrationGetNode extends LogicNode {
return switch (from) {
case 0: armory.renderpath.Postprocess.chromatic_aberration_uniforms[0];
case 1: armory.renderpath.Postprocess.chromatic_aberration_uniforms[1];
default: null;
default: 0.0;
}
}
}

View file

@ -11,7 +11,7 @@ class GetCameraFovNode extends LogicNode {
override function get(from: Int): Dynamic {
var camera: CameraObject = inputs[0].get();
if (camera == null) return null;
if (camera == null) return 0.0;
return camera.data.raw.fov;
}