Jump to content
Sign in to follow this  
  • entries
    223
  • comments
    165
  • views
    79680

Screeny time in TinyTown

Sign in to follow this  
Stephen R

276 views

I didn't get what I wanted done done last night, but I got it done this morning instead. I got stuck on a few small annoying bugs last night. So all I had in the end was a plain grid showing. Here's what I have now.



Today I added heights from an image, diffuse lighting, and a texture splashed over the terrain. I'm doing everything through shaders, which are really cool. The normals could be better though. I'm only calculating them from the four vertices around each vertex, and it leads to some ugly effects when the light intensity is increased. I hope that by increasing the number of verts I use to 8 it should smooth out the normals a bit.

I'm not going to add too much more to this demo, since I didn't code it with any partitioning in mind I'm limited in the ammount of terrain I can render. I'm not going to bother trying to crowbar quadtrees into it. I might make a bigger demo after this one but I still have a bit more to put in, after getting the normals smoothed out. I want to add distance based fog to the vertex shader, and maybe one or two other bits.
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!