Version
3.5-1722
Branch
master
Date
11 years, 2 months ago
Windows x64 Windows x86 Mac OS X Android
Commit
a6fd2c8227d616ad1b1da902877e2fd23c37dc04
Change author
degasus
Change description
fix lightning for inconsitent config

It's possible to configure to use the vertex color as lightning source without enabling the vertex color at all.
The old implementation will use zero, but it seems to be wrong (prooven by THPS3), more likely is to disable
the lightning and just return the global color.
This fixes THPS3 on OpenGL, but it isn't verifed on hardware