Applies RAL colors to pre-rendered house scenes using ratio-based tinting in linear RGB:
1. Load base scene + pixel mask
2. Convert target color to linear RGB (gamma decode)
3. Compute adaptation ratio: targetChannel / neutralBaseChannel
4. For each pixel: tintedChannel = baseChannel × ratio
5. Blend by mask strength to preserve highlights
6. Convert back to sRGB (gamma encode)
Uses adaptive neutral base selection (lighter neutral for light colors, darker for dark).
Do you have experience with this? Does anyone know how to render the colors better? Any suggestions on how to do mapping? Is there some library of materials online that I am not aware of that includes RAL colors? Should I switch to 3d rendering?