Voxels not affected by dynamic lights

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
sylandro
Posts: 33
Joined: Tue Feb 17, 2015 8:49 pm

Voxels not affected by dynamic lights

Post by sylandro »

Voxel models are not being lit up by dynamic lights. Judging from past threads, it seems like this has worked before (viewtopic.php?f=37&t=36486&start=15), but it is not working on version 3.5.1.

Attached is a screenshot and a test map with a lot of models. Press R to use the flashlight and the models will stay with their original lighting.
Attachments
Screenshot_Doom_20180924_203259.png
voxel_light_bug.pk3
(248.73 KiB) Downloaded 28 times
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Voxels not affected by dynamic lights

Post by Graf Zahl »

Fixed. But keep in mind that voxels do not have normals so they use flat sprite lighting instead.
User avatar
Rachael
Posts: 13946
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Voxels not affected by dynamic lights

Post by Rachael »

Was this supposed to be moved off to Closed Bugs or were you keeping it open?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Voxels not affected by dynamic lights

Post by Graf Zahl »

No. It's fixed as good as it can be addressed.
User avatar
Nash
 
 
Posts: 17497
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: Voxels not affected by dynamic lights

Post by Nash »

Graf Zahl wrote:Fixed. But keep in mind that voxels do not have normals so they use flat sprite lighting instead.
Isn't each voxel converted into a cube during runtime? Can you not create normals for those cubes on the fly?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Voxels not affected by dynamic lights

Post by Graf Zahl »

No, because that'd look like utter garbage.
Post Reply

Return to “Closed Bugs [GZDoom]”