wowserhq / wowser

World of Warcraft in the browser using JavaScript and WebGL
MIT License
238 stars 63 forks source link

Implement portal culling #150

Open fallenoak opened 8 years ago

fallenoak commented 8 years ago

WMOs can be a real drag on performance, mostly because of draw calls and object projections stemming from their (at times hefty) doodad sets. We should implement portal culling using the portal data baked in to the WMO files. This also benefits rendering performance when inside a WMO such that the overworld is no longer visible.

Progress

timkurvers commented 8 years ago

Sounds great! :+1: