Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
No shader mode lighting
07-26-2012, 12:28 PM,
#1
No shader mode lighting
This is something that bugged me quite a long time. The no shader fallback has no lighting due to the way car color is applied to model.
[Image: oldnq.jpg]

I've tried to fix this some time ago, but it didn't work as expected. I had a look at this issue again and it turned out that my first attempt to fix it actually works. There just seems to be a bug(haven't been able to identify it yet) in VDrift glstatemanager code that breaks it. The difference is quite obvious. Big Grin
[Image: newjn.jpg]

The glstatemanager is there for performance reasons, caches gl state. My current solution has to call OpenGL directly to work. Not sure how to deal with this atm. Just push the fix ignoring the state manager issue?
Reply


Messages In This Thread
No shader mode lighting - by NaN - 07-26-2012, 12:28 PM
[No subject] - by NaN - 07-26-2012, 12:55 PM
[No subject] - by joevenzon_phpbb2_import3 - 08-02-2012, 10:02 PM
[No subject] - by NaN - 08-03-2012, 01:42 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)