calder-gl / calder

Interactive constraints for controlling the growth of procedural models.
MIT License
20 stars 1 forks source link

Gamma-correct colours #73

Open davepagurek opened 6 years ago

davepagurek commented 6 years ago

We end up with a lot of blown out colours. Basically we want to curve out colours after calculating them so that this doesn't happen:

screen shot 2018-06-06 at 9 25 53 am

armcburney commented 6 years ago

Could you provide a bit more context into this issue please? What do you mean by "curve out colours"?

davepagurek commented 6 years ago

Take a look at the images in here: https://learnopengl.com/Advanced-Lighting/Gamma-Correction

Basically maps a colour to a different colour, using a graph like the one in that post.