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.

Linked issues

MC-273080 speed effect causes the camera to clip Resolved MC-247977 3rd Person Wall-Clipping Glitch Resolved MC-197091 High FoV (using enchantments and effects) causes X-ray effect Resolved MC-221003 you can see trough blocks with high FOV Resolved MC-217026 3rd Person Quake Pro FOV view bobbing Xray issue. Resolved

Attachments

Comments 45

@unknown, speed 4 is supported.

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

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

35 more comments

Can confirm in 1.17.1.

Can confirm in 1.18.2 and 22w19a.

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).

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.

Can confirm in 23w17a

grafschaftcompi

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, ..., 1.21.4, 25w08a, 1.21.5, 1.21.6, 1.21.7

Retrieved