[No] DL 3D Model Shadowscasting to Sector Surfaces

Moderator: GZDoom Developers

DL 3D Model Shadowscasting to Sector Surfaces

Postby DnB-Freak » Tue Feb 23, 2021 7:45 am

I don't have code submissions so I decided to post here.
I'm just wondering if it's time GZDoom may support dynamic light shadowcasting from 3D models into sector surfaces ahead.
This thread is similar so why not?
DnB-Freak
Drum and Bass in ya face
 
Joined: 19 May 2013

Re: DL 3D Model Shadowscasting to Sector Surfaces

Postby Caligari87 » Tue Feb 23, 2021 11:47 am

The thread you linked is actually not even remotely close to the same thing. The sprite "shadows" are achieved simply by drawing the sprite twice: once normally, and once darkened+shrunk+transparent.

Dynamic shadows cast from models (or any other geometry for that matter) is a massive performance problem because of the way GZDoom has to process and render level geometry and lights.

We currently have "2D shadowmaps" which allow dynamic lights to cast shadows from static map geoemtry (void spaces) but anything more would require a massive refactor of how maps are processed and rendered.

8-)
User avatar
Caligari87
I'm just here for the community
User Accounts Assistant
 
Joined: 26 Feb 2004
Location: Salt Lake City, Utah, USA
Discord: Caligari87#3089
Github ID: caligari87
Operating System: Debian-like Linux (Debian, Ubuntu, Mint, etc) 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support


Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests