-
Notifications
You must be signed in to change notification settings - Fork 363
Description
This is probably just my ignorance, but I was trying to review the toneMapping feature and found these two definitions of it:
https://gpuweb.github.io/gpuweb/#dom-gpucanvasconfiguration-tonemapping
The tone mapping determines how the content of textures returned by getCurrentTexture() are to be displayed.
https://gpuweb.github.io/gpuweb/#canvas-color-space
The toneMapping determines the handling of values outside of the [0, 1] interval in the color space of the screen.
These seem like very different things. The former, which is the actual <dfn>, says that it only affects getCurrentTexture(). The latter seems to imply it affects display of content to the screen.
Are both true?
Additionally, I could not find any normative statement (of the form "the browser must behave this way") connected to the toneMapping property. The statements above are phrased as statements of fact (see this taxonomy), but not requirements on browsers. Are there requirements about tone mapping somewhere in the spec?