Jump to content
  • Advertisement


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


D3D8 & Fog, my problem...

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

Hi All First say that i am a Spanish boy and my English control is bad, sorry for all faults My Question:.... I''m a newbie programmer of D3D 8.0 API, i''m trying to use Fog with it.... the fog i want is the fog of the games displayed at the end of the view distance, to difumine the object draw.... I''m not sure to use Vertex or Pixel Fog and i test all two types and the Fog is over all objects... have someone any tutorial or can someone tell me how can i use the Fog?? Very thanks to all, and sorry for my english use for now )

Share this post

Link to post
Share on other sites
OK, I don''t know if I understand your question, becauese of you english.

If your question was about how to use the fog in Direct 3D, I am sorry, I don''t actualy know, I would read the SDK, prehaps that may help.

If your question is about which type of fog is which, well per-pixel is just that, for every pixel on the screen, it is given an ammount of fog.. per-vertex is also just that, each vertex has a color, and the furthur the vertex from the viewer, the more of the fog colour is applied to the vertex.

I do hope I have helped.

Visit Tiberia: it''s bigger, it''s badder, it''s pouyer...

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!