Skip to content

Commit

Permalink
restore comment
Browse files Browse the repository at this point in the history
  • Loading branch information
cmhhelgeson committed Jul 23, 2024
1 parent d58d6ec commit 89e94a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/nodes/display/PassNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ class PassNode extends TempNode {
const cameraFar = this._cameraFar;
const viewZNode = this.getViewZNode( name );

// TODO: just if ( builder.camera.isPerspectiveCamera )

this._linearDepthNodes[ name ] = linearDepthNode = viewZToOrthographicDepth( viewZNode, cameraNear, cameraFar );

}
Expand Down

0 comments on commit 89e94a1

Please sign in to comment.