Jump to content
  • Advertisement


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


How to add fog around a sphere ??

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

If possible a color fog !! Where can i find a tut?? All tut of fog who i found make fog everywhere !! Please help me

Share this post

Link to post
Share on other sites
unless you use some sort of localised fog thing, there is no way to make fog just around a sphere.

I think what you are after is a halo effect. Which is where the sphere appears to glow.

There are two ways. The quick way is to do a transperent sphere around the normal sphere. This will look ok. You could go one better and do several spheres.

The best way of acheving the halo effect, however, is to put a blended, textured quad through the middle of the sphere and aligned so it faces the camera always. Make the texture some sort of round sparkle that will look like it is radiating from the sphere.

Do not meddle in the affairs of moderators, for they are subtle and quick to anger.

Cool Links :: [ GD | TG | MS | NeHe | PA | SA | M&S | TA ]
Got Clue? :: [ Start Here! | Google | MSDN | GameDev.net Reference | OGL v D3D | File Formats | Go FAQ yourself ]

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!