Thursday, April 15, 2010

Yet Another Bsp Viewer Update!


It now renders lightmapped textures! Try it here.

I'm rendering the textures and the lightmaps on two separate buffers, then blending them together using Multiply blend mode. Unfortunately this requires rendering all triangles twice and since the drawing calls are the main bottleneck this results in almost halved performance.

Also, since I'm not doing any gamma adjustments the map ends up being displayed quite darker than in the quake 3 engine.

Also also, some textures are missing, I replace them with a plain white textures.

2 comments:

  1. Really amazing work, definitely following this project!

    ReplyDelete
  2. Great job! It would be nice if you publish the source.

    ReplyDelete