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?
🎉 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
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
Popular Topics
Advertisement