orels1 / orels-Unity-Shaders

A collection of practical Unity shaders for your next project
https://shaders.orels.sh
Other
168 stars 13 forks source link

Add support for per-texture tiling options in the toon shader #30

Closed orels1 closed 11 months ago

orels1 commented 11 months ago

When working with detailed Toon materials - it is often desirable to be able to control the tiling of each texture individually.

This allows you to have a simple base texture, base occlusion and base normal, with detail drive specular, normal, and occlusion applied on top.

An example of such material would be a knitted sweater, where the underlying base color, occlusion, and normal can describe the overall parameters that follow the shape of the model, while the rest are heavily tiled texture with the knitted wool pattern

This should be implemented via a "Synced with Albedo" and "Independent" tiling modes