-
-
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.
WebGLRenderer: Add support for AgX Tone Mapping (#27366)
* Add support for AGX tone mapping * Update tonemapping example * Update test * AGX -> AgX * glsl lint, suffixes fix * Adjust tone mapping constant values * Update src/renderers/shaders/ShaderChunk/tonemapping_pars_fragment.glsl.js Co-authored-by: Don McCurdy <[email protected]> * Update src/renderers/shaders/ShaderChunk/tonemapping_pars_fragment.glsl.js Co-authored-by: Don McCurdy <[email protected]> * Update OutputPass.js Add `AgX` support. * Update OutputShader.js Add `AgX` support. * Clamp the values to be > 0.0 * Add rec2020 matrices * Fix rec2020 conversion matrices * Update implementation to be based on filament using rec 2020 color space * Spaces -> tabs * linting * Code cleanup * Support WebGL1, rearrange * Comments update * Remove redundant clamp --------- Co-authored-by: Don McCurdy <[email protected]> Co-authored-by: Michael Herzog <[email protected]>
- Loading branch information
1 parent
74ca7d8
commit e041e08
Showing
7 changed files
with
98 additions
and
1 deletion.
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
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