mojira.dev

Bad Time

Assigned

No issues.

Reported

MC-97300 Mirroring in "cross" model plant blocks. Duplicate MC-45658 Transparent blocks are darkened in sunlight Duplicate

Comments

Let's dig into this a little bit because I think this issue's title is a poor descriptor of the problem and I don't want future bug reports to be wrongly labeled as duplicates of this issue.

This is really an issue with ambient occlusion in smooth lighting, as it only occurs with smooth lighting on (note that minimum and maximum smooth lighting makes no difference, as per https://bugs.mojang.com/browse/MC-58668) and it is unrelated to actual in-game torch or sun light levels. We can see it in full effect if we use an all white texture and night vision:

[media]

Some parts are so jarringly un-smooth that it appears that there are some gray blocks, even though there is only 100% white blocks used in the scene.

Contrast with this scene in which wide (2x2) tunnels are used and the ambient occlusion is correct:

[media]


(one might say that you can see some subtle lines here that don't make it "truly" smooth, but this is just a side effect of the linear interpolation, and is unnoticeable once a proper texture is applied.)

I think a better title for this issue would be "Tight spaces break smoothness of smooth lighting's ambient occlusion effect"

It's not immediately clear why this was re-opened. Shouldn't the title be edited?

This should probably be described as "UV mapping in cross.json and tinted_cross.json models is incorrect."

The actual problem is that the UV mapping is backwards on some of the faces. It can even be fixed by a resource pack which I've put together here: https://dl.dropboxusercontent.com/u/12694594/CrossFix.zip

Actually, the south face is effected, in that it is completely mirrored.

This is not easily solvable and is generally accepted as part of how the game works.

It would take massive amounts of textures and special "connections" depending on how the block is placed to fix this sort of thing.

I think this bug is not explained correctly. The problem is that transparent blocks visually use the brighter light level that they are NEXT to.

Example pictures:

https://dl.dropboxusercontent.com/u/12694594/errror.png

https://dl.dropboxusercontent.com/u/12694594/error2.png

This bug happens AGAIN in 14w05b, after the "transparent blocks are much darker" bug was "fixed"...