View Full Version : Light Rays
03-22-2002, 08:36 PM
could anyone point me towards good tutorial for Light Rays?
IE: A lighbulb, with a ray of light.
Any help os MUCH appreciated. Thx.
03-23-2002, 02:00 PM
That all depends on what you want to do with the light rays... if you want to use them for radiosity or lightmapping Light Rays behave just as any other ray, such as ones used in collision detection or anything.
03-23-2002, 02:15 PM
I mean like a Visable Ray of light coming from a source, IE: A spotlight, with a ray of light leaving it. A transparent, but viewable object posing as a "light ray".
Like in the Vapor demo2 on gollum.flipcode.com, where you race thel ittle space car. The lights have little rays leading from them.
03-24-2002, 07:08 AM
Use a alpha blended cone, that is all.
03-24-2002, 04:58 PM
That is the easy way of doing it. in my opinion it looks very very fake. Maybe you can do a dynamic lightmap for the light source?? Computationally expensive but only one light source and only the polygons in fron of you would have to be lightmapped, so you can optimise the calculations alot.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.