-
Notifications
You must be signed in to change notification settings - Fork 34
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
Floodfill incorrect shadows on most custom block models #286
Comments
To give a little bit of context; for the whole floodfill effect to work, it needs to know what blocks are where, relative to the world. The shader has to manually list what blocks are light sources, and if a block should not block light. to stop specific blocks from blocking light, you need to manually add those blocks to the list of blocks that should not block light
One other thing, the "voxel space" or 3D grid of the world is atleast 1x1x1 meter/1 block in volume for each grid unit. model shape does not exist in that voxel space. only the voxel shape exists. and that shape is 1 block large. So things that block light, but have had their model changed to be less than 1 block large, will still block light as if its 1 block large, regardless of what the model is. |
yes, all of those are the same issue. some of them have been cleared away simply by putting block ID's in the groups that best fit them, like i explained above |
Describe the bug
With Floodfill turned off, custom blocks that are not a full block model render correctly and as expected.
However, when turned on and under artificial light (not sunlight), these blocks begin to almost completely darken up inward, leading to some rather annoying visuals.
Some vanilla models appear to be unaffected by this phenomenon, as are these two pots:
Some others, however, are subject to it. Redstone dust, for example:
Although it is mainly noticeable with blocks from other mods.
This only happens with artificial lighting, however, as the blocks are unaffected under sunlight.
It is not a matter of lighting either, as even if the blocks get a light source next to them the problem persists. Only handheld lights manage to get rid of it.
Describe how your minecraft is set up
Describe how to reproduce the bug
Turn Floodfill on with everything else in default. Place any block that isn't a full-block model in a space without sunlight and with another placed light source.
The text was updated successfully, but these errors were encountered: