mojira.dev
MC-92250

You can see through blocks using high FOV values and speed

The Bug:

You can see through blocks using high FOV values and speed.

Steps to Reproduce:

  1. Summon a solid wall of blocks nearby and teleport yourself up against it by using the commands provided below.

    /fill ~6 ~ ~6 ~6 ~4 ~-6 minecraft:stone
    /tp @s ~5 ~ ~ 0 0
  2. Navigate to your video settings and change your FOV to "Quake Pro".

  3. Give yourself the speed effect by using the command provided below.

    /effect give @s minecraft:speed 100 3 true
  4. Look closely at the solid wall you're standing against.

  5. Take note as to whether or not you can see through blocks using high FOV values and speed.

Observed Behavior:

You can see through blocks.

Expected Behavior:

You would not be able to see through blocks.

Related issues

Attachments

Comments

migrated
[media][media]
bemoty

Duplicate of MC-10755.

[Mod] Neko

@unknown, speed 4 is supported.

bemoty

@unknown Oops? Why is MC-12568 resolved as a duplicate of MC-10755 then? Speed 3 is supported too then.

[Mod] Neko

Fixed, thanks.

bemoty

Can confirm for MC 1.12.1, this already works with speed 3.

RedCMD

can confirm for 1.12.2, but with Quake-PRO FOV + Speed 2 + sprinting in survial

FaRo1

This also happens in third person view without speed effect. But because it's easier to reproduce with speed, I'm not going to change the report.

migrated

Confirmed for 1.13.1.

migrated

Can I be the reporter of this issue, please?
Thanks. 🙂

migrated

Confirmed for 1.16 Pre-release 2.

migrated

confirmed for 20w27a

pulpetti

In 1.16.2 Pre-1

migrated

Confirmed for 1.16.2

UserTeemu

Confirmed for 1.16.3

Sebexan

Present in 1.16.4 Pre-Release 2

Sebexan

Present in 1.16.4

Sebexan

Present in 20w45a

Sebexan

Present in 20w46a

UserTeemu

I think this issue is related to near clipping in rendering. At least in third person, it seems like this issue can be prevented if all block faces are rendered more than 0.05 blocks (the near clipping plane value) away from the camera.

I tested my theory about near clipping with a mod that changes the near clipping value to 0.03 from the original value (0.05). And yes, lowering that value decreased the area on screen, where you can see through blocks. That happened with all perspectives.
However lowering the value shouldn't be the fix, since it can break a lot of other things.

Sebexan

Present in 20w48a

migrated

Works for me too! Works better on some walls than others.

Sebexan

in 20w51a

Sebexan

I can confirm for
1.16.5 and 21w03a

Sebexan

I can confirm for 21w05b

Sebexan

in 21w06a

Sebexan

I can confirm for 21w07a

Sebexan

I can confirm for 21w08a

Sebexan

I can confirm for 21w10a

Sebexan

I can confirm for 21w11a

Sebexan

I can confirm for 21w13a

Sebexan

I can confirm for 21w14a

Sebexan

I can confirm for 21w15a

Sebexan

I can confirm for 21w16a

Sebexan

I can confirm for 21w17a

Sebexan

I can confirm for 21w18a

Sebexan

I can confirm for 21w19a

Sebexan

I can confirm for 21w20a

Sebexan

I can confirm for 1.17 Pre-release 1

Sebexan

I can confirm for 1.17 Pre-release 2

Sebexan

I can confirm for 1.17

Avoma

Can confirm in 1.17.1.

Avoma

Can confirm in 1.18.2 and 22w19a.

migrated

This is actually caused by generic.movement_speed being over a certain value, and is not specific to potion effects nor enchantments (MC-197091); they just modify said attribute.
Using /attribute, you can cause this too.

This can be fixed by clamping the FOV within a certain range, while not clamping the movement speed; Or by modifying how the world gets rendered on a wide screen to fix this (also fixing MC-8684).

FaRo1

I think limiting FOV is a good idea regardless, but asymptotically, not with a hard cutoff point. And MC-8684 shows that also properly fixing the actual rendering issue would be good anyway.

Brain81505

Can confirm in 23w17a

Avoma

(Unassigned)

Confirmed

Platform

Normal

Rendering

fov, quake-pro, speed

Minecraft 1.8.8, Minecraft 15w44b, Minecraft 15w45a, Minecraft 15w51b, Minecraft 1.9 Pre-Release 1, ..., 24w38a, 1.21.3, 1.21.4, 25w08a, 1.21.5

Retrieved