Giter Club home page Giter Club logo

Comments (2)

coderbot16 avatar coderbot16 commented on May 18, 2024
  • Don't cull the sides and bottom of the world in shadow map rendering

While the player normally cannot see these things, the shadow light source definitely can. During the chunk building process, the faces on the sides of chunks on the edge of the world are culled with the expectation that a new chunk will be loaded there, however it would be possible to keep track of all of those culled faces, then render them during shadow map rendering only. This would fix the issue of shadow light seeping into caves that seems to afflict many shaderpacks.

You can see in this image how the shadow map under OptiFine is able to see caves and underground mobs:

2021-02-20_19 19 11

This is a completely dark cave underground, yet it is filled with sun:

image

Some shaderpacks work around this by only applying shadows to faces with a certain sky light value, however this causes problems of its own.

from iris.

coderbot16 avatar coderbot16 commented on May 18, 2024

Shadows are now available in the latest trunk version.

from iris.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.