Jump to content

GZDoom Dynamic Lights


shadow1013

Recommended Posts

Anyone who plays GZDoom has probably noticed this, but the clipping of the dynamic lights from things such as soulspheres lamps and candles doesn't look right because it goes right through walls. Just a random thing that has annoyed me lately

Share this post


Link to post

Yeah, it's annoying, but it's not going to change; unless an OpenGL wizard volunteers a resource-efficient fix.

It's not a trivial thing to clip light sources. E.g., the Quake engine doesn't, either. Just look:

In the room of the silver key, look straight ahead from the cage the key resides in. On the opposite wall a pool of light spills from a secret door. Shoot it and it will open.


In advanced Quake ports like Dark Places, the light is properly clipped by the opaque door, so you can't find this secret as the walkthrough says. But before you ask, no, GZDoom cannot use Dark Places' code, both for legal (incompatible licenses) and technical (completely different code architecture) reasons.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...