Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

Screeny time in TinyTown

Sign in to follow this  
Stephen R


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  


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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!