PDA

View Full Version : mutlitexturing ...



GL_SH
06-20-2002, 12:08 AM
is there possible to make model with two texture units like this:

1: texture generation ( GL_SPHERE_MAP )
2: normal texture ( half-transparent )

is there any other possibilites to mix them ?
tell me i'm not dreaming !!


thanks !

NordFenris
06-20-2002, 01:48 AM
Yep, this is fully possible. Just make sure you set your glDepthFunc (GL_LEQUAL) in time. http://www.opengl.org/discussion_boards/ubb/smile.gif

AdrianD
06-20-2002, 02:53 AM
http://oss.sgi.com/projects/ogl-sample/registry/

take a look at following extensions:

ARB_multitexture
ARB_texture_env_add
ARB_texture_env_combine
ARB_texture_env_dot3
NV_register_combinters
NV_texture_env_combine4

...and you know all the possibilites.