-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WebGPU: Logarithmic Depth Buffer Rename/Revision + GTAONode Fixes (#2…
…9870) * 1. Renamed the function 'perspectiveDepthToLogarithmicDepth' to 'viewZToLogarithmicDepth' and modified it to expect a negative viewZ value in order maintain consistency with 'viewZToOrthographicDepth' and 'viewZToPerspectiveDepth' 2. Added function 'logarithmicDepthToViewZ' 3. Fixed AO not working when 'logarithmicDepthBuffer' is true * Update GTAONode.js Clean up. * Update ShadowNode.js Clean up. * Update ShadowNode.js Add `setGroup()`. * Update ShadowNode.js --------- Co-authored-by: Michael Herzog <[email protected]>
- Loading branch information
1 parent
bb7f17a
commit 485f7f0
Showing
4 changed files
with
47 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters