textures
Texture2D Array as Render Target in HLSL Pixel Shader
Currently I need a couple of textures\' worth of per-pixel data from my rendering pass (normals, depth and colour).[详细]
2023-03-25 09:23 分类:问答iPhone : OpenGL Rendering Transparent textures
I have a texture that is partially transparent.What do I need to enable so that it renders that part of the texture transparent?Currently it renders the lower index texture in the transparent part of[详细]
2023-03-25 03:42 分类:问答Binding texture memory to a GPU allocated matrix
I created a float point matrix on the GPU of size (p7P_NXSTATES)x(p7P_NXTRANS) like so: // Special Transitions[详细]
2023-03-24 06:06 分类:问答OpenGLES2.0 How to track down "Texture is a uniform color" bug - need ideas.
I have this problem with the display of my textured VBOs on OpenGLES20 (testing on an android motorola Xoom), where textures would appear as if they were taken from a single dot of the texture instead[详细]
2023-03-23 22:34 分类:问答OpenGL ES texture from random image in iOS
I\'ve been challenged with the task of putting an oddly sized image (with fixed proportion, though) on a GL_QUAD (well, a GL_TRIANGLE_STRIP resem--you got the point) and that seemed fairily easy to me[详细]
2023-03-23 21:01 分类:问答How are `glTexEnv`, `glColor4x` and `glBlendFunc` related in OpenGL ES 1.0?
I\'m looking at SurfaceFlinger, i.e. the the code that is doing the composition in Android, and I have trouble understanding some of the OpenGL ES 1.0 calls as I\'ve only programmed ES 2.0 code.[详细]
2023-03-23 14:13 分类:问答OpenGL 2D: glColor4 has no effect - what have I missed?
I\'m porting a game from WP7 XNA to Android; everything was working using Canvas but it was too slow so I\'ve switched to OpenGL ES, following the examples of Replica Island and SpriteMethodTest.[详细]
2023-03-23 06:50 分类:问答OpenGL C#, loading textures in upside down
Is there a way to load images into openGL with the y-coords flipped? (upside down). I\'m using the .NET Bitmap and BitmapData classes, a开发者_Python百科nd passing BitmapData.Scan0 to OpenGL.[详细]
2023-03-23 01:42 分类:问答Android OpenGL Texture not rendered
Here is my GL init code: gl.glEnable(GL10.GL_TEXTURE_2D); gl.glShadeModel(GL10.GL_SMOOTH); gl.glEnable(GL10.GL_BLEND);[详细]
2023-03-22 22:01 分类:问答glTexImage2d doesn't do anything
This problem baffles me. I am testing some Haskell bindings to OpenGL, I create a vertex shader, a fragment sha开发者_如何学Goder, compile the program, and draw a textured rectangle to the screen afte[详细]
2023-03-22 21:17 分类:问答