diff --git a/docs/components/renderer.md b/docs/components/renderer.md index 033c74c2e2b..3d7b9acb793 100644 --- a/docs/components/renderer.md +++ b/docs/components/renderer.md @@ -41,7 +41,7 @@ It also configures presentation attributes when entering WebVR/WebXR. | precision | Fragment shader [precision][precision] : low, medium or high. | high | | alpha | Whether the canvas should contain an alpha buffer. | true | | stencil | Whether the canvas should contain a stencil buffer. | false | -| toneMapping | Type of toneMapping to use, one of: 'no', 'ACESFilmic', 'linear', 'reinhard', 'cineon' | 'no' | +| toneMapping | Type of toneMapping to use, one of: 'no', 'ACESFilmic', 'linear', 'reinhard', 'cineon', 'AgX', 'neutral' | 'no' | | exposure | When any toneMapping other than "no" is used this can be used to make the overall scene brighter or darker | 1 | | anisotropy | Default anisotropic filtering sample rate to use for textures | 1 | diff --git a/src/systems/renderer.js b/src/systems/renderer.js index 1c0867cd7a0..f1852362572 100644 --- a/src/systems/renderer.js +++ b/src/systems/renderer.js @@ -17,8 +17,8 @@ module.exports.System = registerSystem('renderer', { maxCanvasHeight: {default: -1}, multiviewStereo: {default: false}, physicallyCorrectLights: {default: false}, - exposure: {default: 1, if: {toneMapping: ['ACESFilmic', 'linear', 'reinhard', 'cineon']}}, - toneMapping: {default: 'no', oneOf: ['no', 'ACESFilmic', 'linear', 'reinhard', 'cineon']}, + exposure: {default: 1, if: {toneMapping: ['ACESFilmic', 'linear', 'reinhard', 'cineon', 'AgX', 'neutral']}}, + toneMapping: {default: 'no', oneOf: ['no', 'ACESFilmic', 'linear', 'reinhard', 'cineon', 'AgX', 'neutral']}, precision: {default: 'high', oneOf: ['high', 'medium', 'low']}, anisotropy: {default: 1}, sortTransparentObjects: {default: false},