Skip to content

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

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

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