Since godot 4.3 has huge improvements in particle shaders and I have found a solution to project (correctly) the grass on a surface based on the work of the author of Terrain3D plugin and I want to do other tutorials that require grass. I decided to make a brief explanation of how my shader works and share it for free on my patreon.
Several grass systems do the transformations inside the spatial shader. The ones that use meshinstance and the ones that use particles as well. They rotate and apply squash and strech to each instance of the grass. In the case of my shader it is not like that, it uses the direct transformation of the particle and only does rotations. It does use the spatial shader but only to apply color and noise to each particle. I prefer my solution because I like it and because I made it 😁 and it is the one I will use in next tutorials.
⚠️This explanation is not for beginners. I think if someone is brand new to shaders it might cause some frustration. But if you have already seen some of my tutorials, you may find it easier to understand.
If you feel lost here is a list of my tutorials, where I explain more in depth the topics covered in this tutorial.:
Wall of particles: • Wall of particles shad...
Hologram Shader: • Hologram Shader - Godot 4
Random and noise: • GODOT Shaders for NOOB...
The grid: • GODOT Shaders for NOOB...
DOWNLOAD FREE
/ grass-particle-99113042
HASHTAGS:
#godot4 #godot #shader #vfx
24 авг 2024