Skip to content

TheMIU/Stylized-Fluffy-Tree-Shader

Repository files navigation

🌿 Stylized Foliage Shader (Billboard + Wind + Fresnel)

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.

Features

  • 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

Included Assets

  • Multiple leaf texture variations
  • Source .ai (Illustrator) file for full customization

Inspired By

Notes

  • 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.

About

Stylized Godot 4 foliage shader with wind sway, billboard effect, fresnel lighting, and custom alpha cutout.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published