Wersja
3.5-1722
Gałąź
master
Data
11 lat, 4 miesiące temu
Windows x64 Windows x86 Mac OS X Android
Commit
a6fd2c8227d616ad1b1da902877e2fd23c37dc04
Autor zmiany
degasus
Opis zmiany
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