darkf / darkfo

DarkFO, a post-nuclear RPG remake (of Fallout 2)
Apache License 2.0
135 stars 12 forks source link

Optimize WebGL renderer #57

Open darkf opened 8 years ago

darkf commented 8 years ago

We should probably start with rendering the lightbuffer into a texture and only modify that when the lightmap is updated.

Then we should see if we can batch rendering more.

To reduce texture unit switching: