orels1 / orels-Unity-Shaders

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

Add option to decide scaling method for Outline Thickness in ORL Toon. #77

Open BluWizard10 opened 1 month ago

BluWizard10 commented 1 month ago

Describe what are you aiming to achieve For a side project I'm working on, there are some Meshes that don't share the same internal Mesh scale (100 vs. 1). Currently, it's really difficult to control the Outline Thickness on these objects without making separate Materials for each one (and there are a lot of them), as Outlines are currently calculated in Local space.

For specifically World Building, could you add the option to change the Scaling method used for the Outline Thickness? The options would be:

In a way, this would replicate how Poiyomi Shaders currently does it as it allows the user to choose Local or World for the Outline thickness scale reference.

Describe any workarounds you can use now There are no workarounds I found in ORL Toon as of v6.3.0.

orels1 commented 1 month ago

The scaling should be performed in world space already, so I'll need to take a look 🤔