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

Fighting the Ogre

Sign in to follow this  


I've been fighting the Ogre shadow system and near terrain renderer. It turns out that it uses different shaders for rendering ambient and color materials, vs rendering light contribution with shadowing. This means that, even if using the exact same code in both shaders, you won't get full invariance between the passes. and ugliness ensues.

In the meanwhile, I've resorted to using stencil shadows. Of course, stencil shadows, in turn, don't seem to work on static, "baked" geometry, using the Ogre StaticGeometry stuff. Grumble.

"Warts and all"

I'm re-factoring a bit of the LUA integration, using a bit of macro and template wrapping to get some meta information along with the actual function being bound into the LUA state. Given that I have two LUA machines; one for the main application, and one with level data, I needed this.
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.

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!