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

Improved lighting #4655

Merged
merged 3 commits into from
Oct 27, 2016
Merged

Improved lighting #4655

merged 3 commits into from
Oct 27, 2016

Commits on Oct 22, 2016

  1. Improved lighting

    This commit rewrites the procedure that is responsible for light
    updating.
    
    this commit
    -provides iterative solutions for unlighting and light spreading
    -introduces a new priority queue-like container for the iteration
    -creates per-node MapBlock caching to reduce retrieving MapBlocks from
    the map
    -calculates with map block positions and in-block relative node
    coordinates
    -skips light updating if it is not necessary since the node's new light
    will be the same as its old light was
    juhdanad committed Oct 22, 2016
    Configuration menu
    Copy the full SHA
    2716276 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2016

  1. Use node lighting for liquid spreading

    This commit modifies the liquid transforming procedure to light and
    unlight nodes instead of whole map blocks.
    juhdanad committed Oct 23, 2016
    Configuration menu
    Copy the full SHA
    569bc48 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2016

  1. Cleanup

    juhdanad committed Oct 25, 2016
    Configuration menu
    Copy the full SHA
    941988e View commit details
    Browse the repository at this point in the history