Advertisement

Day-night cycle colors

Started by October 12, 2017 10:14 PM
3 comments, last by Kryzon 6 years, 11 months ago

I'm working on a 2d farming rpg and I've written a shader that tints the scene based on that time of day it is in the game. What I'm trying to work out is what RGB values should  correspond to what time of day. Does anyone have any ideas or references?

Have a read of this thread

Storm Clouds over the Western Front - 2D aerial combat WIP | DarklightXNA on Twitter | 2DFlightSim on Youtube
Advertisement

Awesome. Thanks bid

If you're technically inclined, there's this website full of info on computer graphics -- including the sky-scaterring phenomenon that's related to the colours of a day-night cycle: http://www.scratchapixel.com/lessons/procedural-generation-virtual-worlds/simulating-sky

This topic is closed to new replies.

Advertisement