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.
Voxels not affected by dynamic lights
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.
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.
Voxels not affected by dynamic lights
- Attachments
-
voxel_light_bug.pk3
- (248.73 KiB) Downloaded 28 times
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49230
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Voxels not affected by dynamic lights
Fixed. But keep in mind that voxels do not have normals so they use flat sprite lighting instead.
Re: Voxels not affected by dynamic lights
Was this supposed to be moved off to Closed Bugs or were you keeping it open?
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49230
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Voxels not affected by dynamic lights
No. It's fixed as good as it can be addressed.
Re: Voxels not affected by dynamic lights
Isn't each voxel converted into a cube during runtime? Can you not create normals for those cubes on the fly?Graf Zahl wrote:Fixed. But keep in mind that voxels do not have normals so they use flat sprite lighting instead.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49230
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Voxels not affected by dynamic lights
No, because that'd look like utter garbage.