Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: cloud shadows #6

Open
MJacred opened this issue Feb 2, 2020 · 3 comments
Open

Feature Request: cloud shadows #6

MJacred opened this issue Feb 2, 2020 · 3 comments

Comments

@MJacred
Copy link
Contributor

MJacred commented Feb 2, 2020

Maybe implementing them like the light cookies as used in Unity

Only decal implementation found:
Screen-Space-Decals: https://github.com/Mr-Slurpy/Screen-Space-Decals

In-Engine support for decals might come with Godot 4...

The shadows probably won't have to be 100% accurate, because that's difficult to tell, but they should match with the cloud coverage

@Lexpartizan
Copy link
Owner

Cloud coverage is now stored in a texture, so there is a base for work.
But this is working with light, so I have no idea how to project a shadow.
In real life, we don't see shadows from specific clouds.
It could be a little easier to reduce the light when the center of the Sun is behind the clouds, but I don't know how to do it yet either, becouse i change light with script, no shader.

@MJacred
Copy link
Contributor Author

MJacred commented Feb 2, 2020

Hm... I believe you can make out the shadow in real life, if the sun is at its zenith or close to it... ie. the sun is shining really strong onto the Earth surface. I'll do some research in the following days

@Lexpartizan
Copy link
Owner

Yes, this happens, but very rarely, in General, the overall illumination changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants