Tuesday, November 10, 2009

While I'm coding the gui for travel between stars, I've decided to implement shaders in the engine with the OGLSL languaje. It was easy to implement, but coding and debugging shaders is so hard! It took me one day to make the support for shaders in the engine, and two days to code and debug the shader for rocky planets with bump (or normal map). If the user doesn't have a shaders-capable graphics card, the graphics will be as before.

This is the previous rocky planet without bump:


And this is the one with bump. Click the image to see the details:


Rocky, uh?

No comments:

Post a Comment