Search the Community
Showing results for tags 'light'.
I'm not sure if this should go here or in the Tech Support section, so If this is the wrong place, please let me know. As a hobbyist game developer, I'm curious about how the Light Awareness System works in The Dark Mod. I've been poking through the source code, but haven't found any definitive math explaining it, or code comments mentioning on how it's calculated. If anyone could point me to exactly where to look, or could explain what steps and/or math it's using to calculate how visible the player is, I'd greatly appreciate the insight. For reference, I'm trying to implement a similar s
I recently saw a post about the functionality of the idTech 6 engine, which brought this suggestion to my attention. It's actually a simple and trivial improvement, although I can imagine people missing it and not thinking about its absence. Also keep in mind I don't know the lighting code of TDM, and everything I say is purely out of observation. Like most engines that use dynamic lighting, TDM tends to have considerable performance issues when a lot of lights are rendered at once. This is often because of shadows and possibly other calculations. A common way to prevent extra computation in
I am quite far with my first map and I am placing some visportals now. When you play the map, everything outside is rendered. The inside of the big building I placed somewhere is not rendered, thanks to a visportal. So it seems like visportals work pretty good with doors. But I also made a tunnel, which is reached after using a button, which opens then "sarcophagus_lid.lwo" with a slide animation. The visportal i placed there is not working as intended. Everytime I face the visportal it is green (r_showportals 1) and only gets red when I don't look at it, which is weird for me, because on no