Skip to content

Extra Cull Margin triggers worst LOD #67890

Closed
@lyuma

Description

@lyuma

Godot version

4.0.beta3 (not in 4.0.beta2)

Unlike #67772, this is not a double-precision build

System information

Windows 10, Nvidia

Issue description

Since 4.0 beta3, using high values for Extra Cull Margin will cause the LODs to break. This bug was not present on 4.0 beta2

Screenshot of Extra Cull Margin=16384 on beta3
broken LODs

Screenshot on beta2:
good LODs

CC @Zylann Unrelated to previous bug with import and double precision builds. This is not affected by importer, and the same binary scene will look different on beta2 and beta3; or depending on extra cull margin.

CC @TechnoPorg the regression may be your PR #67307 - I haven't done a full bisect yet but it is between beta2 and beta3

Steps to reproduce

  1. Open the attached project.
  2. Check if the mesh looks broken (LODs)
  3. Set Extra Cull Margin to 0, and then 16384, on the Body mesh to see how it affects rendering.

Minimal reproduction project

ExtraCullLODTest.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions