[bug][0.4.*] Slab lightning problem

Fixerol
Member
 
Posts: 633
Joined: Sun Jul 31, 2011 11:23
IRC: Fixer
In-game: Fixer

[bug][0.4.*] Slab lightning problem

by Fixerol » Sun Nov 01, 2015 14:14

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 Fixerol 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

Re: [0.4.*] Slab lightning problem

by PilzAdam » Sun Nov 01, 2015 14:26

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

Sokomine
Member
 
Posts: 2980
Joined: Sun Sep 09, 2012 17:31

Re: [0.4.*] Slab lightning problem

by Sokomine » Wed Nov 04, 2015 17:05

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.
 

Fixerol
Member
 
Posts: 633
Joined: Sun Jul 31, 2011 11:23
IRC: Fixer
In-game: Fixer

Re: [0.4.*] Slab lightning problem

by Fixerol » Mon Nov 09, 2015 16:44

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

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

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

by Ferk » Mon Nov 09, 2015 17:08

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: 1641
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

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

by Don » Wed Nov 11, 2015 22:06

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
 

Fixerol
Member
 
Posts: 633
Joined: Sun Jul 31, 2011 11:23
IRC: Fixer
In-game: Fixer

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

by Fixerol » Thu Feb 18, 2016 15:56

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

User avatar
kaadmy
Member
 
Posts: 627
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 » Thu Feb 18, 2016 17:12

@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.
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 7 guests

cron