Skip to content

Split texture, stochastic sampled, triplanar texture shader for Godot4

License

Notifications You must be signed in to change notification settings

acegiak/Godot4TerrainShader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Godot4TerrainShader

Split texture, stochastic sampled, triplanar texture shader for Godot4

An example screenshot of the terrain shader

Based on:

How To Use:

  • Unzip the folder into your project so that the terrain-shader folder is in your addons folder.
  • Create a Shader Material and use Terrain.gdshader as the shader.
  • Set shader parameters:
    • set wall_tex_scale and top_tex_scale to be larger than zero.
    • set wall_color and top_color to be lighter than black (eg middle grey)
    • assign textures to wall_tex and top_tex
    • adjust blend values (2,0,0,1 are good starting values) (These just have to be played with and adjusted to your taste)

There's also an example material in the example folder

About

Split texture, stochastic sampled, triplanar texture shader for Godot4

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published