Рет қаралды 314
This tool uses a single trim sheet texture that contains 14 possible wood plank variations.
Each connected piece of geometry is given a random value between 0-1 using the 'rand' function. Afterward, I enclosed the rand function using the 'sample_discrete' function, returning a value of 0-13.
Example: int d = sample_discrete(14, rand(iteration));
With that, each UV island is now randomly distributed between a range of 0-13.
In-depth breakdown with screenshots on my twitter -
x.com/Caden_fp...