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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Tips for Better Lighting<br />

• Recall lighting computed only at vertices<br />

– model tessellation heavily affects lighting<br />

results<br />

• better results but more geometry <strong>to</strong> process<br />

• Use a single infinite light for fastest<br />

lighting<br />

– minimal computation per vertex

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

Saved successfully!

Ooh no, something went wrong!