notes from the bigfug

programming light and other strange tales

Skip to: Content | Sidebar | Footer

PatchBox r278 – Shaders and More City Scapes

15 September, 2008 (13:03) | PatchBox | By: Alex May

Shaders, and world sphere, and the Chrysler Building, oh my

Shaders, and a world sphere, and the Chrysler Building

The city scape I’m working on is progressing.

After reading up some more on OpenGL 3.0, and noting the depreciation trend, I decided to make some fairly heavy duty changes to the PatchBox engine – namely make as much of the rendering take place using shaders.

Every bit of geometry can now have it’s own independent shader, or share instances with others.

I’m still toying with the idea of utilising VBO’s but the dynamic nature of the geometry may require a bit of overhead to alloc/dealloc space from a pool of vertexes/normals/etc…

The red and green tinge to the buildings is caused by my debug render shader that shows the texture mapping coordinates.

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • FriendFeed
  • LinkedIn
  • Live
  • MySpace
  • Slashdot
  • Technorati
  • Twitter

Write a comment





Page optimized by WP Minify WordPress Plugin