3D engine that AI agents drive
State which scenes change in the sRGB decode note (#1030)
Nguyen Xuan An0e17253bbb89
diff --git a/docs/cycles-parity.md b/docs/cycles-parity.mdindex f15ae5b0..784cc1a9 100644--- a/docs/cycles-parity.md+++ b/docs/cycles-parity.md@@ -1035,7 +1035,7 @@ Commands: `node bench/cycles-parity/texture-scenes.mjs <dir>` writes `tex-repeat## Why textured surfaces rendered bright (#1030)-The `cycles` kernel decoded every texel of an 8-bit sRGB map to linear and then filtered the decoded values. Blender Cycles filters the stored 8-bit values and decodes the blend. The decode curve is convex, so a blended texel decoded first is always brighter than one decoded last, and the gap is largest where neighbouring texels differ, at the edges of a checker. The kernel now fetches stored values and decodes the filtered result (`texture_decode_filtered` in `closure.wgsl`). Opaque and nearest-filtered reads, linear maps and every untextured scene take the same arithmetic as before. Textured scenes change: this is a look change toward Cycles.+The `cycles` kernel decoded every texel of an 8-bit sRGB map to linear and then filtered the decoded values. Blender Cycles filters the stored 8-bit values and decodes the blend. The decode curve is convex, so a blended texel decoded first is always brighter than one decoded last, and the gap is largest where neighbouring texels differ, at the edges of a checker. The kernel now fetches stored values and decodes the filtered result (`texture_decode_filtered` in `closure.wgsl`). Nearest reads, linear maps and every untextured scene give the same values as before (lit-interior and glass match the base byte for byte on both kernels). Every scene with a filtered sRGB map changes: this is a look change toward Cycles.Proof on the smallest scene, `tex-emit-srgb` (an emissive quad seen head on with nothing else in the room, 128 x 128, 256 spp, RTX 4090, Blender 5.3). The mean of the picture in closed form from the texels, for each order of decode and filter, against what each renderer drew (R, G, B):