0 votes

I'm currently working on a large 3D scene in Godot 4, and wish to have some degree of cloud coverage in my lighting. I currently have a single directional light for my 'sun', and ideally I would like to add some 'noise' or cloud pattern over this light source to give the impression of clouds darkening the scene. However, Godot 4 doesn't seem to support Unreal Engine-style light functions, and projected textures are not supported on DirectionalLights.

Would anybody be able to share their thoughts on how best to accomplish this effect?

Godot version 4.0 beta 6
in Engine by (17 points)

1 Answer

–1 vote

Try use shaders!

by (22 points)

What kind of shader. Can you share a sample.

Can you please be a little more specific? Where would I use said shader? How would I use it?

Go to a node, and go in the properties "Materials"

Add a shader, see in youtube how use this.

I know what a shader is and how to write one. I am asking you if you could be more specific about what type of shader you would advise using - would you add it as a material shader? A sky shader? Screen-space? Telling me to look at YouTube is not a helpful answer. I am looking for advice on how to implement an effect, not to be told how to research basic concepts.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.