Page 1 of 1
Glaring lights.
Posted: Sun Dec 04, 2005 1:47
by solarsnowfall
Cutmanmike wrote:Can we have the tunnel map?

This is the effect (a couple) from that wad. Nothing too spectacular. Not even sure if this will run well on lesser systems. The ceiling light is static. The wall light casts a glare into the room, that lessens as the player gets closer to the window. Maybe usefull to someone.
Download
For GZDoom.
More (hopefully useful) stuff to come.
Posted: Tue Dec 06, 2005 0:34
by solarsnowfall
Slight revision. Updated the calculations to factor in Z distance. The total distance calculated is a true 3d distance now. Before it only measured a distance based on the X and Y positions, wich means the light fading would not be effected at different Z ranges. Like a right triangle, side A is the XY distance, side B is the Z distance, and the 3d distance is calculated as the hypotenuse.
Posted: Tue Dec 06, 2005 4:58
by smg m7
That's cool. It'd work nice for something dark.
Posted: Tue Dec 06, 2005 10:27
by TheDarkArchon

Jawsome!
Posted: Tue Dec 06, 2005 19:39
by solarsnowfall
Any frame rate issues?
Posted: Tue Dec 06, 2005 21:56
by TheDarkArchon
The framerate takes a noticable dip but nothing as bad as SSD.
Posted: Wed Dec 07, 2005 0:06
by solarsnowfall
It drops to ~200 fps for me, with both the window and ceiling light in view, ~400 fps with only the window in view. I'm running on an Athelon 3500 though...