cakeslice / Outline-Effect

Outline Image Effect for Unity
MIT License
1.48k stars 201 forks source link

Effect always treats alpha channel in _Maintex as opacity #49

Closed skullthug closed 3 years ago

skullthug commented 4 years ago

Hello, this outline effect looks wonderful, and thank you for supplying it. My project has texture channels in a specific way, and while ti doesn't utilize any opacity effects for the models, we do use the alpha channel for translucency effects (for fast SSS). However the outline effect always wants to utilize this channel as opacity regardless, so i'm unable to get it to correctly outline the model. Verified this by removing the texture that's set in _Maintex, and the outline worked as expected. Couldn't find any over-rides and toggled about everything I could find on Outline and Outline Effect scripts. Figured I would post here before I begin diving into the code.