I’m looking to apply a color filter for celestial objects such as the sun and moon. As we all know, certain physical effects causes color shifts in these objects as they rise and set. For instance, when the moon rises or sets, it takes on a yellowish hue near the horizon. There is a similar effect with the sun. In the morning, it takes on a yellow-orange hue before gradually transitioning to white as it climbs in the sky. At sunset, it’s more of a orange hue.
I’m looking for a way to apply these color effects at these predetermined times. I have already coded the illusion where these objects change apparent size (appearing larger at the horizon) using tweens and such. I have even coded in the light extinction at twilight. However, this is something I’m not sure how to approach, if it’s even possible to do.
I don’t really want to have 50 different textures to create that effect. What’s this about color correction? How would I apply that? I’m using Ambient and Outdoor Ambient colors to produce the light extinction color shift during the two hour twilight phase. Sunrise and Sunset have different lighting colors. Specifically RGB(96, 48, 0) for dawn and RGB(48, 0, 96) for dusk.
Don’t think it’s possible to do this as there’s no direct way to color filter the celestial objects in Roblox lighting service but your post is already solved as you did have some realistic moons and sun anyway lol, good job on those color
The issue is sadly that that is the only real way to get exactly what you want, but color correction is another way to do it, the downside is it changes the color of the whole screen, could look good with some tuning though, especially at night it will mostly affect light sources.
I have other light sources that should not be influenced by color correction. So it’s a limitation of the engine itself. I thought about using a transparent frame on the client and tweening the transparency and color to achieve the effect, but it has the same problem in that it affects everything.
Thanks for the help. It’s an answer, not the one that I wanted, but it’s an answer.