Grass Particles Shader, brief explanation, free download - Godot 4

Опубликовано: 24 Февраль 2024
на канале: Pixezy
3,035
133

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 shader - Godot 4  
Hologram Shader:    • Hologram Shader - Godot 4  
Random and noise:    • GODOT Shaders for NOOBS - 011 Random and N...  
The grid:    • GODOT Shaders for NOOBS - 012 The grid  

DOWNLOAD FREE
  / grass-particle-99113042  

HASHTAGS:
#godot4 #godot #shader #vfx