Mesh renderer transparent parts darker

Hi,

I’m quite new to Unity and is testing the Mesh Renderer to map different parts of a texture to the Mesh. The mapping seems to be working great, but not the transparency.

My problem is that the transparent parts of the texture (alpha channel) is darker = “not fully transparent”. Ie the texture is shown as a transparent darker square with the actual visible graphics on top.

More details / what I have tested:

  • In the material I’m using the Standard shader and Transparent rendering mode, adding the texture to Albedo, setting the color to white. (There is also a slider just below the color selector which I’ve set to 0 since the texture is otherwise even darker)
  • I’ve verified that the transparent parts of the PNG-texture are fully transparent
  • I’ve tried disabling the (directional) light sources and only leave the ambient light in the scene. Still the transparent parts show up as a darker (partly transparent) square. So this does not seem to be a lighting issue?

Any input / suggestions appreciated.

If there are no gradients in the alpha channel you can use the cutout version of the standard shader and it will make transparent areas 100% invisible, but if you have some areas that are semi-transparent, you’ll need a custom shader.