🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Day-night cycle colors

Started by
3 comments, last by Kryzon 6 years, 8 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?

Advertisement

Have a read of this thread

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

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