Skip to content

JuniorDjjr/Unity-Procedural-Stochastic-Texture-Terrain-Shader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

Unity Procedural Stochastic Texture Terrain Shader

Procedural Stochastic Texturing for Unity URP terrain, to fix repeated tile patterns on terrain textures.

For other materials (Shader Graph node): https://github.com/JuniorDjjr/UnityProceduralStochasticTexturingNode

I'm trying to keep updated to lastest Unity/URP version, so if you use old Unity (with old URP version), check commits for old versions of this shader. My first release version was tested on Unity 2019.

Limitation: The UV is calculated locally at the object's UV position, so the edges of objects/terrains will not be seamless for the same texture. Someone more experienced than me can try UV randomation by world space, or you can try something like vertex color to define a mask where the effect is applied (would need to edit the terrain shader). Check it out this one.

From rotoscope adaptation, based on Thomas Deliot and Eric Heitz paper, implemented by me (Junior_Djjr) for Unity terrain lit shader with Universal Render Pipeline / URP.

About

Procedural Stochastic Texturing for Unity URP terrain

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published