Transparent PNG image is not working in 3D world

#1

i have use ofEnableAlphaBlending();
This is the PNG image~

#2

Hi, it has to do with having depthtest enabled.
here’s a thorough explanation and solution.
https://learnopengl.com/#!Advanced-OpenGL/Blending
here’s some other useful info
https://www.khronos.org/opengl/wiki/Transparency_Sorting

best

1 Like
#3

Thanks roy:) . Helps a lot.This is working~~

 glAlphaFunc(GL_GREATER, 0.5);
 glEnable(GL_ALPHA_TEST);
1 Like
SOLVED - Issues with PNG transparency for a custom particle system
#4

THANK YOU for posting this. Solved my issue.