I uploaded the cloud project to github. For anybody who is interested, you can look through the code. The clouds however are not production ready. The implementation is still kinda weird. Feel free to use the code for any Godot related project. I'm sure it can be helpful.
The project was created with Godot 4.2.2
I will be looking into to the Godot 4.3 update. With the render hooks it's possibly easier to integrate these clouds. I will attempt to rewrite this one to get rid of the post-fx camera sphere hack.
Known Issues:
- To see the clouds in the editor, you have to increase the camera z-clipping plane
- The clouds can't generate cubemap reflections (to make this work they have to be rendered differently as a sky shader to generate a radiance map)
- The clouds can't generate shadows to affect other objects in the scene
- The clouds cause sorting issues with other alpha blended materials (as they are rendered as post-effect)
Github Repository:
github.com/Pla...
23 авг 2024