A stylized foliage shader for Godot 4 (spatial/3D) based on j-hell's original billboard shader, with several enhancements and customizations. Built to create dreamy, fluffy-looking foliage with support for dynamic wind, fresnel lighting, and billboard effects.
- Billboard control - adjustable facing with
billboard_strength
- Wind sway - animated movement with tunable speed, direction, and strength
- Fresnel effect - rim lighting based on view angle for stylized glow
- Alpha discard - clean cutout using the green channel of your texture
- Custom color blending - tune your foliage color and mix intensity
- Normal flipping - useful for double-sided leaf rendering
- Texture scaling - rescale UVs to match different texture densities
- Multiple leaf texture variations
- Source .ai (Illustrator) file for full customization
- j-hell https://godotshaders.com/shader/simple-cheap-stylized-tree-shader
- Leihaorambam Abhijit Singh https://www.youtube.com/@abhijitleihaorambam3763
- Viktoriia Zavhorodnia https://www.youtube.com/@akbutea_art
- The shader uses the green channel of the texture for alpha transparency.
- Best suited for stylized foliage like bushes, trees, and low-poly vegetation.
- Created with help from ChatGPT to extend and modify the original version.