Triangle shape gets transparent depending on camera distance

  • updated
  • Fixed

Hi shapes team, I am using your shapes as 2d shapes in a unity scene. But now I have the following problem: In the video you can see a Rectangle shape next to a Triangle shape, when I move the camera further away the Triangle shape becomes transparent the further away I zoom. Both shapes use the same settings and the blend mode (Opaque).

Can you help me with this problem?

Reporting a bug? please specify Unity version:
Reporting a bug? please specify Shapes version:
testet in 3.2.3 and 4.1.0
Reporting a bug? please specify Render Pipeline:
Freya Holmér
  • Fixed

this has been fixed in 4.1.1

if you want a fix in the meantime, go to Triangle Core.cginc and make this change

(green means added line, red means removed line. line numbers are on the left)

Tim Schedlbauer

Thank you, that worked.