Jump to content
  • Advertisement

Archived

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

Slyer

How to add fog around a sphere ??

This topic is 5736 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
Advertisement
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.


ANDREW RUSSELL STUDIOS
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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!