Tagged Questions
1
vote
0answers
84 views
How do you display non-cutout transparent 2D textures with a depth buffer? (OpenGL)
I've been able to get my 2D renderer to display transparent cutout textures by testing the alpha of a fragment and discarding if it is less than 1 (or any fraction really). The problem is I want to ...
3
votes
2answers
246 views
Jagged transparency when rendering translucent textures (OpenGL 3.2 + GLSL)
Like most others, I'll start off mentioning that I'm still a beginner when it comes to OpenGL and GLSL programming. So bear with me on any dumb mistakes you may spot in the code ahead.
I'm basically ...
4
votes
2answers
523 views
What is the order-less rendering technique that allows partial transparency?
I've seen somewhere rendering technique that allows order-less rendering of partially transparent sprites/objects.
Though I can't remember what the technique is called, so I'm having trouble Googling ...
1
vote
2answers
1k views
Transparent parts of texture are opaque black instead
I render a sprite twice, one on top of the other. The sprites have transparent parts, so I should be able to see the bottom sprite under the top sprite. The transparent parts are black (the clear ...
3
votes
3answers
371 views
How can I render a semi transparent model with OpenGL correctly?
I'm using OpenGL ES 2 and I want to render a simple model with some level of transparency. I'm just starting out with shaders, and I wrote a simple diffuse shader for the model without any issues but ...
0
votes
1answer
175 views
Rendering two textures with blending and alpha test
What I am looking for is the following: I have a circle on a square image, alpha is 0 at the corners
and also a square shadow, alpha is 0 everywhere else
I would like to have as final result a ...
4
votes
1answer
4k views
How to render a texture partly transparent?
Good Morning StackOverflow, I'm having a bit of a problem right now as I can't seem to find a way to render part of a texture transparently with openGL.
Here is my setting : I have a quad, ...
6
votes
4answers
2k views
Order independent transparency in particle system
I'm writing a particle system and would like to find a trick to achieve proper alpha blending without sorting particles because:
Each particle is a point sprite in a single mesh and I can't use ...
1
vote
1answer
471 views
Broken alpha of two-sided OpenGL mesh
How do I get rid of this alpha transparency artifacting with classic fixed function OpenGL?
I tried all kinds of settings but I'm not sure why it's good in the upper half of the mask but not in the ...