lighting problems

Started by
2 comments, last by griffin2000 17 years, 6 months ago
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 :)
Advertisement
after tests with some more friends it seems to be a problem with ati/nvidia
hm, no one any ideas? :(
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).

This topic is closed to new replies.

Advertisement