Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No light spread at night in lua mapgens #3930

Closed
paramat opened this issue Mar 29, 2016 · 3 comments
Closed

No light spread at night in lua mapgens #3930

paramat opened this issue Mar 29, 2016 · 3 comments
Labels

Comments

@paramat
Copy link
Contributor

paramat commented Mar 29, 2016

In a dark cave in my 'noisegrid' lua mapgen https://github.com/paramat/noisegrid

screenshot_20160329_154207

^ In daytime

screenshot_20160329_154223

^ Now change time to night

Light sources spread their light in daytime, but change time to night and only the light source itself is lit, there is no light spread.
I guess it wouldn't affect core mapgen lava because that is always flowing and therefore updating lighting. However if core mapgen ever had glow ore these would have this problem, so i would consider this essential.
My mod has paramtype = "light" for these light sources, essential for spreading light in daytime.

@C1ffisme
Copy link

This is pretty interesting. So mapgen is affected by the time it is generated? Very peculiar.

Is it possible to just simulate daytime underground to fix this? (Forgive me if I'm just being stupid.)

@kwolekr
Copy link
Contributor

kwolekr commented Mar 29, 2016

0338c2e

@paramat
Copy link
Contributor Author

paramat commented Mar 30, 2016

Confirmed fixed by #3932

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants