18.07.2014 Views

An Interactive Introduction to OpenGL Programming

An Interactive Introduction to OpenGL Programming

An Interactive Introduction to OpenGL Programming

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Texture Functions<br />

• Controls how texture is applied<br />

glTexEnv{fi}[v]( GL_TEXTURE_ENV, prop,<br />

param )<br />

• GL_TEXTURE_ENV_MODE modes<br />

– GL_MODULATE<br />

– GL_BLEND<br />

– GL_REPLACE<br />

• Set blend color with<br />

GL_TEXTURE_ENV_COLOR

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!