* Ensure boolean value for isPerspectiveCamera uniform * Update SSRNode.js --------- Co-authored-by: Michael Herzog <michael.herzog@human-interactive.org>
@@ -206,7 +206,7 @@ class SSRNode extends TempNode {
* @private
* @type {UniformNode<bool>}
*/
- this._isPerspectiveCamera = uniform( camera.isPerspectiveCamera );
+ this._isPerspectiveCamera = uniform( camera.isPerspectiveCamera === true );
/**
* The resolution of the pass.