The tag has no usage guidance.

learn more… | top users | synonyms

3
votes
0answers
716 views

AlphaToCoverage + Alpha Blending = Artifacts

I'm experiencing a strange problem using OpenGL SampleAlphaToCoverage mode. There are rendering artifacts when using alpha-blending on pixels that have been rendered using alpha-to-coverage - and I ...
0
votes
0answers
26 views

How to screen color blend spritebatch?

batch.setBlendFunction(GL20.GL_SRC_ALPHA, GL20.GL_ONE_MINUS_SRC_ALPHA); batch.setColor(new Color(0xFF0000FF)); batch.draw(...); Expected result: Current result: How can I achieve something ...
0
votes
0answers
7 views

How setBlendingFunction() method works and how it affects to andengine game performance

I'm new at game programming. I'm learning andengine and i've seen in lots of sites the use of setBlendFunction() method of sprites but I'm a bit confused about how it works when used on sprites and if ...
0
votes
0answers
50 views

ETC1 texture opacity

I'm using the cocos2d-x engine and want to support etc1 on android devices for my game. For ETC1 i'm using the mali compression tool, and GLSL. Everything is working, but I can't change the opacity ...
0
votes
0answers
175 views

OpenGL - Make two images blend together

I have 2 images that are .png and they mix together, The problem is that one overwrite the other. I know that the draw order matters, but In that case I should redraw the icons 2 times ( there is a ...
0
votes
0answers
58 views

Unity: Combine two UVs by alpha

I'm currently creating a voxel game like Minecraft. To display the damage of blocks, I want to combine the alpha channel of one part of my texture map with the actual texture (like Minecraft does), ...
0
votes
0answers
122 views

How to put OpenGL in a state for drawing blended, colored, nontextured polys?

Using OpenGL1.1 (sadly) I'm trying to draw a cube, which is colored and alpha blended. It is instead showing up as opaque black. Even without including alpha in the color it still shows up as opaque ...