Skip to content
Snippets Groups Projects

Add capability to use model lighting with shaders enabled

Merged Hannu Hanhi requested to merge Hannu_Hanhi/SRB2:ogl-model-lighting-shader into next

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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading