Search Unity

Outline Shader Problem With Inverted Scale Objects

Discussion in 'Shaders' started by tiggaxxx, Aug 27, 2021.

  1. tiggaxxx

    tiggaxxx

    Joined:
    Jan 13, 2020
    Posts:
    30
    Hi,

    I'm using the Free Selection Outline asset (https://assetstore.unity.com/packag...-camera-effects/free-selection-outline-193128), which is amazing and works very well, but i found a problem that i am not being able to solve.

    Whenever i flip an object i invert its scale in the x axis and the outline doesn't work. I will leave the image of what happens.

    This is with the right side object selected, which has a positive scale.



    And this is what happens when i select the object on the left, with the negative scale.



    This examples are from a WebGL build.
    Does anyone know what might be causing this?