Skip to content

armgit / raea

Public Imported from GitHub
0

Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.

Manual reference: Grade's exposure (bun tools/manual-ref/sdk.ts gen)

shinyobjectz41780e97842a
diff --git a/docs/manual/reference/sdk/3d.md b/docs/manual/reference/sdk/3d.md
index fb411162..da6bd848 100644
--- a/docs/manual/reference/sdk/3d.md
+++ b/docs/manual/reference/sdk/3d.md
@@ -1729,6 +1729,7 @@ The props of [`Goo`](#goo), tabled there.
| `temperature` | `number` | warmer (+) or cooler (-): a shift of the CIE x chromaticity, about -0.3 to 0.3 |
| `tint` | `number` | magenta (+) or green (-) |
| `saturation` | `number` | the whole frame's saturation after tone mapping (1 keeps it) |
+| `exposure` | `number` | stops of exposure on every pixel just before tone mapping, unlit colours and emission included (0 keeps it): <ToneMapping exposure> is the camera's, which brightens only what lights shade |
| `shadows` | `GradeSection` | the grade on the shadows: saturation, contrast, gamma, gain, lift |
| `midtones` | `GradeSection` | the grade on the midtones |
| `highlights` | `GradeSection` | the grade on the highlights |
diff --git a/docs/manual/reference/sdk/post_process.md b/docs/manual/reference/sdk/post_process.md
index d666038a..c1418453 100644
--- a/docs/manual/reference/sdk/post_process.md
+++ b/docs/manual/reference/sdk/post_process.md
@@ -221,6 +221,7 @@ A shader over the whole frame. Its source defines
| `temperature` | `number` | warmer (+) or cooler (-): a shift of the CIE x chromaticity, about -0.3 to 0.3 |
| `tint` | `number` | magenta (+) or green (-) |
| `saturation` | `number` | the whole frame's saturation after tone mapping (1 keeps it) |
+| `exposure` | `number` | stops of exposure on every pixel just before tone mapping, unlit colours and emission included (0 keeps it): <ToneMapping exposure> is the camera's, which brightens only what lights shade |
| `shadows` | `GradeSection` | the grade on the shadows: saturation, contrast, gamma, gain, lift |
| `midtones` | `GradeSection` | the grade on the midtones |
| `highlights` | `GradeSection` | the grade on the highlights |