Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Lighting Problem, Help please

This topic is 6933 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

I have a 3D terrain created by 3D Studio Max. There are some mountains in the terrain with some smooth surfaces. When I render this terrain using D3DIM, the mountains seem to obtain some specular properties and appear shiny and also the mountains are not smooth and they seem to have sharp edges. I have switch off the specular property of the D3D device with SetRenderState (D3DRENDERSTATE_SPECULARENABLE, FALSE); What could be the problem. Can anyone help please. Arun

Share this post

Link to post
Share on other sites
Oh come on, you''re making this 3d stuff look hard!

(I still bear the scars of sorting things like this just a couple of months ago).

Try setting the shading mode to gouraud, somewhere in your D3DInit routine:




Check out my project at: www.btinternet.com/~Matthew.Bennett

Share this post

Link to post
Share on other sites

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