Archived

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

johnnyBravo

Directx 9 and setting up lighting? the materials etc

Recommended Posts

johnnyBravo    100
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
Nik02    4348
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