Jump to content
  • Advertisement
Sign in to follow this  
axel0r

lighting problems

This topic is 4367 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi there :) a friend and i are currently working on a little game with dx9. when it's done it should be some pong in 3d ... like the flashgame curveball. it's our first game with dx and we currently have a big problem with the lighting. this ist a screenshot of the (correct) lighting from workstation1 (Nvidia GFX 5600 & intel p4): correct image and this is a screenshot from the wrong lighting on an other workstation(ati x800 & amd a64 3200+): broken image as you can see, the second pic misses some lights. there should be a point lightsource in the middle of the level, a point lightsource near the ball and currently for testing a spotlight which points at the player in the foreground. we are using SetRenderState(D3DRS_NORMALIZENORMALS, true); for the normals of the level, because the mesh is scaled and rotated. without this renderset the lighting doenst work correct on any machine. feel free to test it on your machine: download game any ideas why the lighting could be differnt on the 2 pc's? if you need some code snippets or more detailed information, post here :)

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
after tests with some more friends it seems to be a problem with ati/nvidia

Share this post


Link to post
Share on other sites
Compare the D3D capabilites of the two machines (either with the directX Caps viewer or the equiv DX function). You could also try using the reference device (which renders in software). The other thing to try is ensuring the drivers are up to date (I've had weird rendering issues that were fixed by this).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!