forked from mrdoob/three.js
-
Notifications
You must be signed in to change notification settings - Fork 0
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 (mrdoob#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 <dm@donmccurdy.com> * Update src/renderers/shaders/ShaderChunk/tonemapping_pars_fragment.glsl.js Co-authored-by: Don McCurdy <dm@donmccurdy.com> * 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 <dm@donmccurdy.com> Co-authored-by: Michael Herzog <michael.herzog@human-interactive.org>
- Loading branch information
1 parent
cbdafe5
commit e75b461
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