View Full Version : Light Rays
03-22-2002, 09: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, 03: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, 03: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, 08:08 AM
Use a alpha blended cone, that is all.
03-24-2002, 05: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.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.