Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
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
- Loading branch information