You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Bevy gets support for image-based lighting, it will be possible to use the skybox as a light source for the scene. Though, I might have to create a few other sky models to get more accurate lighting (Nishita is currently used and I've heard from feedback that it isn't the best for lighting). Until then, you could try to use AtmosphereImage to somehow adjust the lighting (maybe sampling parts of the image?)
I'm not looking for something perfect but having a gradient between sunrise, mid-day and sunset would probably work for me. I will have a look at AtmosphereImage but perhaps guessing the color for the directional light and using the absence of that color in the shadows would work good enough.
You could also try mapping the value of the sun's position to a color. You could take the Y axis and use it to pick a color across a gradient (you might need an external crate for this). This would give you more control (and is probably more performant) than using AtmosphereImage.
Currently I am adjusting the ambient light brightness based on the directional illuminance.
I would also like to adjust the color the directional and ambient lighting so sunsets for instance become more realistic in my scene.
Would this be possible?
The text was updated successfully, but these errors were encountered: