Feature 10

For this feature, I decided to make my scene more immersive by adding thousands of stars in the not-so-far distance. I decided to use the non-geoshader method. Once I correctly set and used all of the regular attributes, I was seeing stars in no time at all.

Here’s two images of some relevant code: http://imgur.com/a/dokDD#0

Lines 124 – 131 in the first image are my way of ensuring that there are no stars in the intended area of exploration. I didn’t think it would be very immersive if the player could walk through a star. This is still possible as I allow walking off of the visible terrain, but you get the point.

Here is a video showing the result:

[youtube http://www.youtube.com/watch?v=z7qjn222crs?feature=player_detailpage]

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *