Tagged Questions
1
vote
1answer
105 views
Powers of 2 textures in Android 2d games?
I've read a lot about the importance of using powers of 2 png's for textures when using OpenGL ES. However, how does this relate to Google's own documentation regarding the resizing of graphics for ...
5
votes
1answer
342 views
FBO rendering different result between Galaxy S2 and S3
I'm working on a pong game and have recently set up FBO rendering so that I can apply some post-processing shaders. This proceeds as so:
Bind texture A to framebuffer
Draw balls
Bind texture B to ...
0
votes
1answer
287 views
Why do my 512x512 bitmaps look jaggy on Android OpenGL?
This is sort of driving me nuts, I've googled and googled and tried everything I can think of, but my sprites still look super blurry and super jaggy. Example:
Here: ...
1
vote
1answer
105 views
How to implement custom texture formats in Android?
What I know:
Android can load PNG, BMP, WEBP,... via BitmapFactory.
What I want to achive:
Load my own 2D file format (e.g. 1-bit texture with a 1-bit alpha channel) and output a RGBA8888 texture.
...
3
votes
2answers
654 views
OpenGL 3.0+ framebuffer to texture/images
I need a way to capture what is rendered on screen, i have read about glReadPixels but it looks really slow.
Can you suggest a more efficient or just an alternative way for just copying what is ...
2
votes
1answer
176 views
Is there any reason not to save skinning animation data in texture?
I have thought about saving animation data in texture. I think I can save shader parameter setting and interpolation cost in CPU, and also enable animated instancing.
But I couldn't find no text ...
4
votes
1answer
418 views
OpenGL ES 2.0 texture distortion on large geometry
OpenGL ES 2.0 has serious precision issues with texture sampling -
I've seen topics with a similar problem,
but I haven't seen a real solution to this "distorted OpenGL ES 2.0 texture" problem yet.
...
3
votes
1answer
202 views
Why did an Android update disable the textures in my game?
I recently updated my tablet to Android 4.0.3 and now the textures for my game do not show up. I'm using OpenGL-ES 2.0 for my engine. It worked fine when I was running android 3.0. Is there any ...
1
vote
3answers
753 views
iOS - pass UIImage to shader as texture
I am trying to pass UIImage to GLSL shader. The fragment shader is:
varying highp vec2 textureCoordinate;
uniform sampler2D inputImageTexture;
uniform sampler2D inputImageTexture2;
void main()
{
...