multitexturing
Using RGB for A in fixed pipeline opengl
Yes so short question: Is it possible to use any of the RGB components as alpha in Opengl ES 1.1 (fixed pipeline)?[详细]
2023-04-10 01:47 分类:问答OpenGl es 2.0 GLSL fragmentColor multiple textures
I am rendering frame, fragment color is based on two textures, i woudl开发者_开发技巧 like to increment value of one of textures in one pass, i mean can i run one program on two framebuffers in one pa[详细]
2023-03-26 13:22 分类:问答How to draw a triangle with own texture on each corner?
Basically, i want to give 3 textures for each corner of a triangle, and interpolate from one texture to another, just like the colors would be interpolated with glColor() on the corners.[详细]
2023-03-26 12:54 分类:问答Multitexturing is darkening the entire scene!
I\'ve implemen开发者_开发百科ted a scene using 3 quads, A, B, and C. Quad C is behind quad B. Quad B sits on top of Quad A.[详细]
2023-03-16 02:26 分类:问答OpenGL: Turn off multiple texture units
How to turn off multiple texture units because they influence to other render parts. I activate my them:[详细]
2023-02-27 07:50 分类:问答Texture units and vertex arrays in OpenGL
I\'m trying to draw one cube with different textures for each face. I\'ve come across many tutorials which state that in the display() routines, you need to enable all texture units before ca开发者_St[详细]
2023-02-08 20:44 分类:问答How to create a "scorched area" on a 3D terrain?
i\'m experimenting a bit with C# and XNA. Going through the advanced \"Riemers tutorials\" helped me a lot, but i want to make my terrain even better. I have a simple game where player controls a tank[详细]
2023-01-05 08:39 分类:问答OpenGL ES (iPhone) multi-texturing (2D) code
I have a texture from this PNG: And another from this PNG: They both have the same blend function: glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA);[详细]
2022-12-18 21:29 分类:问答OpenGL ES set Texture matrix for different Texturing units
with glMatrixMode(GL_TEXTURE); ..some matrix operations... i can change the current texture transformation matrix. However -开发者_JS百科 it seems it affects not all texture units (i\'m using multi[详细]
2022-12-18 16:38 分类:问答Lightmap with multitexturing, disabling lighting for one of the textures?
How i can disable lighting for only one of the textures in this multitexturing scheme? I tried to use glDisable(GL_LIGHTING) and glEnable(GL_LIGHTING) but it doesnt remember the settings when i render[详细]
2022-12-15 19:09 分类:问答