Multitexturing Performance
Well so far from what I can tell implementing vertex arrays might have 2x my performance. I won't know until I get my texturing to work correclty. I have one texture applied to my terrain but doesn't look right. It is smeared from left to right? I am using GL_TRIANGLES_STRIP and using
1,3
0,2
for a texture coordinates. As this is the windings I am using for my vertexs also. When I try to use the second texture unit (the detailed texture) my terrain goes white and looks like it covers up my original texture? This worked fine before I used vertex arrays. I used this for texture parameters
glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_COMBINE_ARB);
glTexEnvi(GL_TEXTURE_ENV, GL_RGB_SCALE_ARB, 2);
Thanks
1,3
0,2
for a texture coordinates. As this is the windings I am using for my vertexs also. When I try to use the second texture unit (the detailed texture) my terrain goes white and looks like it covers up my original texture? This worked fine before I used vertex arrays. I used this for texture parameters
glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_COMBINE_ARB);
glTexEnvi(GL_TEXTURE_ENV, GL_RGB_SCALE_ARB, 2);
Thanks
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Can't get multitexturing to work | Coyote | 4 | 3,391 |
Nov 16, 2009 11:48 PM Last Post: arekkusu |
|
| Using glTexCoordPointer with multitexturing | TomorrowPlusX | 6 | 11,701 |
Dec 5, 2006 09:42 AM Last Post: NYGhost |
|
| Lighting and Multitexturing problem | Scribendi | 0 | 2,318 |
Sep 25, 2005 09:22 PM Last Post: Scribendi |
|
| OpenGL Multitexturing Details w/Alpha | WakingJohn | 22 | 9,702 |
Dec 4, 2004 10:52 AM Last Post: WakingJohn |
|
| Sparseness of Multitexturing documentatin in Red Book | WhatMeWorry | 2 | 2,890 |
Nov 10, 2004 01:54 PM Last Post: arekkusu |
|

