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.

Applying Textures II<br />

– specify textures in texture objects<br />

– set texture filter<br />

– set texture function<br />

– set texture wrap mode<br />

– set optional perspective correction hint<br />

– bind texture object<br />

– enable texturing<br />

– supply texture coordinates for vertex<br />

• coordinates can also be generated

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

Saved successfully!

Ooh no, something went wrong!