Advertisement

MultiTexturing

Started by December 20, 2003 02:57 AM
5 comments, last by agent666 21 years, 2 months ago
Is it possible to blend two texture together on a polygon in opengl. Or do i have to manually edit the texture data, apply the new texture data with the old one and bnd that, then use that texture?
either use the multitexturing extention (see nehe''s tutorials) or render the object with 2 passes...

- Render as normal
- Turn on blending and turn off depthbuffer
- Render with the 2nd texture
- Turn off blending and turn on depthbuffer

Multitexturing is faster, but its a pain to implement. I personally dont like programming extentions
Advertisement
Use multitextureing extension.
Mostly all cards support it!

--------------------------------------------------------

"If it looks good, it is good computer graphics"
"If it looks like computer graphics, it is bad computer graphics"

Corrail
corrail@gmx.at
ICQ#59184081
--------------------------------------------------------There is a theory which states that if ever anybody discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable.There is another theory which states that this has already happened...
Extensions rules !

Check on my website for an example.

========================
Leyder Dylan (dylan.leyder@slug-production.be.tf
http://users.skynet.be/fa550206/Slug-Production/Index.htm/
========================Leyder Dylan (dylan.leyder@slug-production.be.tf http://users.skynet.be/fa550206/Slug-Production/Index.htm/
since ogl1.2 or so multitexturing isn't even an extension anymore. It now belongs to core opengl

My Site

[edited by - Quasar3D on December 20, 2003 8:14:03 AM]
Im new to extensions, but if a extension is part of the core OpenGL, do i still have to use the ARB version if im on windows?
Or can i use the non-ARB version?
Advertisement
Windows only has GL version 1.1, so you will still have to use the extension..

This topic is closed to new replies.

Advertisement