Jump to content
  • Advertisement


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


Directx 9 and setting up lighting? the materials etc

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

Hey, i just started looking at lighting, and I can't work out how to set up my triangle to show a colour instead of just grey, and what normals, materials etc are doing? like with the normals, from the tutorial i found i see that they decide on how the light is reflected off a surface or something, but whats with the normal xyz all equaling 1? is that an angle or what? and so far i havent seen any tutorials explaining these basics or how to set them up. Whats materials for? if anyone knows of indepth tutorials on any of this, that would be great, thanks. Or if someone could provide code on how to set up my triangle for lighting( eg different colours etc) that would be really good. Thanks alot. [edited by - johnnyBravo on August 5, 2003 10:00:26 AM]

Share this post

Link to post
Share on other sites
The DX SDK is, in my opinion, the best-written sdk Microsoft has published.
True, it may seem massive and hard-to-read, but in the end most of the necessary data are still there.

Try nexe for tutorials, also in sdk are tutorials about normals, materials and lighting, all in glorious color!

I wish you luck in your search...

kind rgds Nik

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.

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!