more-adjustments
This commit is contained in:
parent
c8b828a6e9
commit
dd655aa8e1
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue