Directx 9, How to setup a point light?

Started by
1 comment, last by johnnyBravo 20 years, 8 months ago
In the sdk it only shows how to setup a directional light. Im wondering how i would setup a point light. Like what are the values that i have to modify etc
Advertisement
Hm.. I think it''s COMPLETELY the same as in DirectX8, of course the 8 is a 9 now..

.lick
Take a look at the "Lighting" sample in the SDK

That demonstrates how to use all types of lights, how much they''re affected by mesh density etc.

--
Simon O''Connor
ex -Creative Asylum
Programmer &
Microsoft MVP

Simon O'Connor | Technical Director (Newcastle) Lockwood Publishing | LinkedIn | Personal site

This topic is closed to new replies.

Advertisement