Skip to content

Commit 5b1a17a

Browse files
WebGPURenderer - SSRNode: Ensure boolean value for isPerspectiveCamera uniform (#32218)
* Ensure boolean value for isPerspectiveCamera uniform * Update SSRNode.js --------- Co-authored-by: Michael Herzog <[email protected]>
1 parent f0628f6 commit 5b1a17a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/jsm/tsl/display/SSRNode.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ class SSRNode extends TempNode {
206206
* @private
207207
* @type {UniformNode<bool>}
208208
*/
209-
this._isPerspectiveCamera = uniform( camera.isPerspectiveCamera );
209+
this._isPerspectiveCamera = uniform( camera.isPerspectiveCamera === true );
210210

211211
/**
212212
* The resolution of the pass.

0 commit comments

Comments
 (0)