Godot: Alpha blending not working correctly in GLES2

Created on 4 Jan 2019  ·  1Comment  ·  Source: godotengine/godot

Godot version:

3.1 alpha5 b60939be88d192b63798aec6e9b031d570048b8b

OS/device including version:

macOS Hight Sierra / Intel HD Graphics 5000

Issue description:

Blending multiple textures with alpha channel does not produce overlapping effects in GLES2.
You can see the differences as below.

Scene description
Left: CPUParticles2D with texture having alpha
Right: 10 godot icons with alpha drawn on the same position

GLES3

gles3_blend

GLES2

gles2_blend

Minimal reproduction project:

gles2-blend.zip

bug rendering

Most helpful comment

I think I found the cause of the issue. I'll submit PR soon.

>All comments

I think I found the cause of the issue. I'll submit PR soon.

Was this page helpful?
0 / 5 - 0 ratings