Archived

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

Tuesdays Gone

light sources in quake

Recommended Posts

Ive been studying the quake map format for a while and id like to implement some shader effects(e.g shadow volumes) with my map viewer, but i dont know where to get the light source for a given leaf from. so if im in a room, where would the light source be? Does quake evan use hardware lights? If it does then i can just use that. If it dosent what would be the alternatives? I remember someone posting about stencil shadow volumes in quake rooms, but i cant remember who posted it, id really like to find out where they extracted the light source from The entity file has a light entity, could i use these? i know it has an orgin attribute, but how would i find out what light entity to use for a given room? all help appreciated.

Share this post


Link to post
Share on other sites