mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 12:44:11 -10:00
core/scene's EMISSIVE took a three.js emissive of 1 as 1.2 x 2^9.7 cd/m², what Bevy's default exposure shows as 1.0. But a StandardMaterial's emissive skips the camera's exposure (emissive_exposure_weight 0, pbr_functions.wesl), so every 3d.tsx and R3F glow drew about 1000 times too bright: an emissiveIntensity of 0.25 on #ff5fa2 came out white, and a transmissive knot over it read as opaque white glass. EMISSIVE is now 1.0; a Bevy material's emissive_nits is still taken as written. sdk/r3f's parity suite gets an in-glass case (clear, clearcoated glass over a thin emissive knot), drawn by three.js in Chrome: SSIM 0.930. The other 26 cases still pass.