Commit Graph

6 Commits

Author SHA1 Message Date
Bill Currie 42bb10a3d7 Clear out the lightmap scrap at each level change.
This allows the demo loop to run more than 4 times (12 demos). Once the
rest of the resource management is done, demos should run indefinitely.
2012-01-17 19:31:50 +09:00
Bill Currie 754dda92ff Get the lightmap texture properly. 2012-01-09 21:13:40 +09:00
Bill Currie ef311b60d6 Remove a now dead function. 2012-01-09 18:55:30 +09:00
Bill Currie 2b45cd693f Fix the black overbright dlights.
t was unsigned and underflowing. This fixes the problem but keeps the
bitshift unsigned clean.
2012-01-09 18:05:41 +09:00
Bill Currie 655252a506 Fix some warnings. 2012-01-07 23:11:56 +09:00
Bill Currie 8a5658ed61 Implement the bulk of the lightmap code.
Now just to get surface rendering going and hook in the lights.
2012-01-07 14:53:23 +09:00