Jump to content
  • Advertisement
Sign in to follow this  
GavRobbs

Per Pixel Lighting in Direct3d *SOLVED*

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

How do I get per pixel lighting in DX? Is there any function, or do I have to use pixel shaders? [Edited by - GavRobbs on August 10, 2007 6:52:35 PM]

Share this post


Link to post
Share on other sites
Advertisement
Fixed function bump mapping (google "EMBM" iirc) existed in D3D6 and I know there was directional DP3 per-pixel lighting in D3D7 (maybe earlier).

There has never been a "Per Pixel Lighting = On" switch, but fixed-function is probably as close to that as you could hope to get.

These days it's all about pixel shaders - you'll find a million examples of this online and in books. You might still find some legacy FF-style examples, but I doubt they're up-to-date or easy to find.

hth
Jack

Share this post


Link to post
Share on other sites
Sign in to follow this  

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