Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Depth and Transparency

$
0
0

@J_1 wrote:

Hi,
I've got a problem where I can't have images with Depth and Transparency.
I'm binding Images onto a 3d mesh and I enable depth test my images are drawn with a background
but if I disable it the depth is all messed up.
I tried all of the different types of glDepthFunc but none made the pngs transparent and without background.
My solution for the moment is to bind the images using a shader that discards pixels with 0 luminance but it isn't perfects and I was hoping for a better solution.

Thanks

J

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles