Terrain Shader screenshot 1
A

Publisher

acegiak

Terrain Shader

FX
Shader Terrain Visuals Sampling Projection Effects Stochastic Triplanar

Split texture, stochastic sampling, triplanar projection shader for Godot4

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