Oni @oni.team-nutshell.dev · Feb 2

So... Turns out that NutshellEngine's colors were completely wrong. This is something I suspected for a while but decided to finally investigate after a big issue at Global Game Jam 2026. (Left: wrong colors, Right: real colors)

3 likes 1 replies

?

Replies

Oni · Feb 2

This issue comes from color spaces. Diffuse and emissive textures were loaded as SRGB, and interpreted as such in shaders, but as the lighting calculation is done in linear space, it looked completely wrong. Loading these textures as UNORM or converting the sampled values to linear fix the issue.