Jump to content
  • Advertisement
  • entries
    422
  • comments
    1540
  • views
    490258

Yay, more broken-ness

Sign in to follow this  
jollyjeffers

76 views



I started to implement lighting for '3D Pipes in Direct3D 10' today (I've basically grouped together the lighting framework for the 'alpha 2' release).

The first thing was to add a per-vertex normal to both types of forward renderer - easy enough job, but hooking up the IA signatures and so on requires a little care and attention.

The above screenshot is looking directly down the light's direction. However it's blatantly obvious that the lighting is *NOT* correct. You can see the boundaries between different segments which shouldn't be the case - there should be a uniform N•L shading.

I've yet to really look into why (it's dinner time for me [grin]) but I'm suspecting it's the normal transformation matrices, which will stem from my earlier problems. Oh well - so much to having that one fixed [rolleyes].
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!