Skip to content
Snippets Groups Projects
Commit 007038e1 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

- don't call glNormal unnecessarily

- do The Right Thing (TM) with the light position, i.e., set it
  *before* we multiply by the modelview matrix. It's much easier
  to achieve predictable lighting results like this: (-1,0,0)
  simply means "light from the left", (0,1,0) means "light from
  the top", (0,0,1) means "light from the front", etc.
parent a91afdb9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment