I included the mods I'm running on this save. What's up with this?
Edit: Forth image is underneath (without blocks from earlier images)
What's Causing the Lighting Issue In the First Pic?
What's Causing the Lighting Issue In the First Pic?
Last edited by Burkha on Wed Jun 29, 2022 17:52, edited 1 time in total.
- Krock
- Developer
- Posts: 4650
- Joined: Thu Oct 03, 2013 07:48
- GitHub: SmallJoker
- Location: Switzerland
- Contact:
Re: What's Causing the Lighting Issue In the First Pic?
Stairs do not block light. Otherwise they would appear black, or stacking them vertically would result in wrong looking dark ground. Use solid nodes to block light.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
Re: What's Causing the Lighting Issue In the First Pic?
Interesting. Why do stairs not block light? Is it because of their geometry or are they defined differently than other nodes?
Edit: It's also interesting because I placed a solid node on top of that specific area. The light must be coming from the adjacent stairs
- Blockhead
- Member
- Posts: 1681
- Joined: Wed Jul 17, 2019 10:14
- GitHub: Montandalar
- IRC: Blockhead256
- In-game: Blockhead Blockhead256
- Location: Land Down Under
- Contact:
Re: What's Causing the Lighting Issue In the First Pic?
Minetest's lighting model is simplistic. Either a node passes light, reduces it slightly, or blocks it entirely. There's no allowance for geometric and rotational based lighting. Thus, stairs mod, moreblocks mod and a lot of other mods define all their shaped blocks as light-passing rather than light-blocking.
Imagine a house made out of slabs. If you laid them in normal rotation so all the walls had big gaps you would expect light to pass through; if you laid them upright against each other you would expect light to not pass through. Expectation unfortunately clashes with the reality that it's kind of impractical to correctly calculate lighting. Anyway, passing light by default rather than blocking it at all times seems to satisfy more lighting scenarios.
Sounds about right. Light travels horizontally somewhat; for instance if you had an otherwise unlit underground chamber with a skylight, a patch around the skylight will be lit, not just the one node directly underneath it.
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂
Who is online
Users browsing this forum: No registered users and 6 guests