Semi-transparent pixels issue

Started by hex0, November 15, 2020, 01:33:45 PM

Previous topic - Next topic

hex0

Hello. I have a problem with anti-aliasing of my textures. Game rounds semi-transparent pixels to the closest 0/1 value.
I've tried to use "transparent" shader, it fixed the problem, but made another one. It is displayed on attached image:
1. Original texture;
2. Ingame view with default shader (crispy border better seen on yellow charge bar);
3. Ingame view with transparent shader. Borders are smooth now but you can see the shadow through the structure.

Is there a way I can fix this? Some other shader perhaps?