Friday, April 27, 2012

Screenshots: Instanced Grass

Our latest achievement is geometry instancing. We put it to good use and created some nice looking grass patches.

They are generated using the vertex output from the marching cubes algorithm. The texture of the instanced geometry is based on the material of the vertex. The normal of the vertex defines if there should be an instance and of what kind. Pointing upward we get grass, downwards we could add lianes.

We want to add animation as well. Wouldn't it be nice to have grass waving in a summer breeze? Or shaking and bending sideways due to strong winds.

The current images are not perfect because the draw order of the grass and water are not fully correct. This means you can't see the sea grass trough the water surface.

Now enjoy the screens :-)

Wednesday, April 4, 2012

Screenshots: Basic inventory

Today we added a basic inventory, yay! :)

And while we were away coding, some grass snuck in as well.