Add capability to use model lighting with shaders enabled
The OpenGL API does not allow usage of fixed-function lighting and shaders at the same time, so using model lighting and shaders simultaneously in SRB2 was not possible. This patch fixes that by implementing a shader that replicates the model lighting functionality. This shader is used when model lighting and shaders are both enabled.
Edited by Hannu Hanhi
Merge request reports
Activity
Filter activity
Please register or sign in to reply