Jump to content
Site Stability Read more... ×
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

More shadows

Sign in to follow this  
benjamin bunny


This is a cathedral mesh I've created for the shadows demo I'm making. There's about 5000 triangles in this scene. It's lit with 2 lights; a positional light inside the cathedral and a directional light for the sun.

ATM I'm just using OpenGL's vertex lighting, but I'll probably put in a bump-mapping pixel shader if I can get the frame rate to improve.

I'm not recalculating a shadow volume unless the light or the mesh moves, which is a lot more efficient, particularly for this type of scene. Fill rate is still proving to be a major pain in the ass in antialiased modes though; with 6xAA, I get about 16fps for the above scene (@1024x768). Without AA, I get ~65fps.
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!