mojira.dev
MC-267376

You can view through blocks on small scales (near plane clipping)

How to reproduce

  1. Make yourself really small

    /attribute @p minecraft:generic.scale base set 0.0625
  2. Walk up to some blocks, or in between chests

  3. ❌ Notice that you can view through blocks

Related issues

Attachments

Comments

migrated
[media][media]
muzikbike

Must be related to MC-8684 as well

migrated

Can confirm in 24w09a. Hope get fixed soon

migrated

You can also clip through layered snow (1 layer), which is easier to exploit.

[media]

 

PR0CESS

This is caused due to the near plane clipping only being 0.05, which is perfectly fine at normal scale. However when everything is 16x smaller, 0.05 is way too big.
This can be easily fixed by simply multiplying the near place clipping by the entity scale.
Working Fix: https://github.com/FxMorin/TinyWorld/blob/master/src/main/java/ca/fxco/TinyWorld/mixin/scale/GameRendererMixin.java

migrated

Really hoping this can be fixed soon, it shouldn't be too hard a fix and it's gonna have a massive impact on gameplay on my server if it doesn't.

Maybe minecraft can just add an attribute for view scale? this will fix other visual issues with scale such as seeming like you are flying if you have a very large scale attribute

MiniDigger

(Unassigned)

Confirmed

Platform

Important

Commands, Rendering

23w51a, 23w51b, 24w07a, 24w12a, 24w13a, ..., 1.20.5 Pre-Release 4, 1.21, 1.21.1, 24w38a, 1.21.3

Retrieved