[bug][0.4.*] Slab lightning problem

Post Reply
User avatar
Fixer
Member
Posts: 904
Joined: Sun Jul 31, 2011 11:23
IRC: Fixer
In-game: Fixer
Location: Ukraine

[bug][0.4.*] Slab lightning problem

by Fixer » Post

I've noticed that whole block and slab block have different lightning on them, look at the screenshot (this problem is evident on default and custom slabs), whole blocks are closer, slabs are farther. Also, probably the same problem with stairs.
Image
MT 0.4.13, 64 bit msvc, Win 7 64bit, i3-2120, ATI HD6870
Last edited by Fixer on Mon Jun 27, 2016 22:42, edited 5 times in total.

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

Re: [0.4.*] Slab lightning problem

by PilzAdam » Post

I remember that there were problems with this a while ago. The light is applied before the mesh is rotated.

Sokomine
Member
Posts: 4290
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine
IRC: Sokomine
In-game: Sokomine

Re: [0.4.*] Slab lightning problem

by Sokomine » Post

Nodeboxes/meshes always looked diffrent in that regard compared to full blocks. It can be used for nice effects and allows for indirect lighting. Just place a light source somewhere and put a slab or something like that in front/on top. It can create very nice patterns and effects.
A list of my mods can be found here.

User avatar
Fixer
Member
Posts: 904
Joined: Sun Jul 31, 2011 11:23
IRC: Fixer
In-game: Fixer
Location: Ukraine

Re: [0.4.*] Slab lightning problem

by Fixer » Post

Added a poll for people with this bug, to specify their setup, vote! Developers need that info

User avatar
Ferk
Member
Posts: 337
Joined: Tue Aug 18, 2015 17:18
GitHub: Ferk

Re: [bug][0.4.*] Slab lightning problem

by Ferk » Post

I'd have guessed this wouldn't have much to do with what drivers you have, since Minetest doesn't use dynamic lighting or any fancy hardware lightining features from the graphic card. The poll wouldn't be very useful.

Btw, last time I checked there was simply no smooth lighting implemented for nodeboxes. Isn't this also the case for slabs and stairs? I'm surprised there's a lighting gradient.
{ ☠ Dungeontest ☠ , ᗧ••myarcade•• }

User avatar
Don
Member
Posts: 1643
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [bug][0.4.*] Slab lightning problem

by Don » Post

I am working on a mod that checks for lighting. If lighting is 15 then particles are spawned. It works fine except if I am standing on a nodebox. The lighting on a slab is too low to spawn a particle.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here

User avatar
Fixer
Member
Posts: 904
Joined: Sun Jul 31, 2011 11:23
IRC: Fixer
In-game: Fixer
Location: Ukraine

Re: [bug][0.4.*] Slab lightning problem

by Fixer » Post

Added github issue here: https://github.com/minetest/minetest/issues/3735... and it is duplicate of another issue posted long ago.
Last edited by Fixer on Thu Feb 18, 2016 22:01, edited 1 time in total.

User avatar
kaadmy
Member
Posts: 706
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: [bug][0.4.*] Slab lightning problem

by kaadmy » Post

@Fixerol: afaik this issue has noting to do with the driver, it's the way Minetest currently calculates lighting, and if you disable smooth lighting, everything looks the same as the slab "bug".

Edit: And of course this bug is only in MT 0.4.*, <0.4 didn't have nodeboxes...
Never paint white stripes on roads near Zebra crossings.

Pixture

Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests