Jump to content
  • Advertisement
Sign in to follow this  
TechnoCore

shafts of light

This topic is 4810 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. I want to make "shafts of light", streaming from the sky in my rts. What is a nice-looking and simple technique for doing this ? Is it a good idea to just do a textured quad from the sky and down to the ground, and let it go from opaque to translucent, and normalize it to the camera ? Or anyone has a better idea ?

Share this post


Link to post
Share on other sites
Advertisement
It would be a better idea to use additive blending for shafts of light. Other than that, you can use either billboard quads, or plain old light cylinders (as in Warcraft 3, for instance).

Share this post


Link to post
Share on other sites
Ahh it was the warcraft-3 effect I was thinking of. Never heard of "plain old light cylinders" though ;)
I guess it's just what it soundls like... a cylinder made up from textured quads ?

Share this post


Link to post
Share on other sites
Just a transparent cylinder mesh with a 1D ramp texture applied. Ramp as in black to gray to white color from 0 to 255, or whatever color you choose, say blue my favorite. :)

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!