Skip to content

JuniorDjjr/UnityProceduralStochasticTexturingNode

main
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 Texturing Node for Shader Graph

Procedural stochastic texturing node for Unity's Shader Graph, to fix repeated tile patterns on tiled textures.

For terrain: https://github.com/JuniorDjjr/Unity-Procedural-Stochastic-Texture-Terrain-Shader

Just use this file as a custom function node for Shader Graph. Color and normal/bump versions map are separated.

Limitation: The UV is calculated locally at the object's UV position, so the edges of objects 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.

This solution can also be adapted into other games, such as GTA San Andreas:

From rotoscope adaptation, based on Thomas Deliot and Eric Heitz paper, implemented by me (Junior_Djjr) for Unity shader graph.

About

Procedural stochastic texturing node for Unity's Shader Graph

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages