Feature 4- Spencer

Getting a skybox around my terrain proved a little more difficult than just following the video. For the most part that’s where the majority of the code came from, but I ran into a problem where for some reason I had to disable cull faces in order for the skybox to appear everywhere.

Some code

Some shader code

And a video of the skybox

 

[youtube http://www.youtube.com/watch?v=NuD57Grh874]

Comments

Leave a Reply

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