Skip to content

Bug: Legacy projtex shadows and CSM shadowmaps disappear under lower FOVs #1747

@pivotman319-owo

Description

@pivotman319-owo

Describe the bug

Setting a lower FOV will cause legacy projected textures and cascaded shadow maps to disappear even if any objects are well within the shadow rendering range. This can cause problems for big outdoor maps with dynamic lighting!

p2ce_2026-04-08_11-18-24.mp4

To Reproduce

  1. Create a map with a light_environment and an env_cascade_light entity and a bunch of far away props and brushes
  2. Set the env_cascade_light's shadow render radius to 2048 or higher
  3. Compile the map
  4. Look at something from far away
  5. Zoom in or reduce cl_fov

Issue Map

Any map with legacy projected textures or env_cascade_light entities

Expected Behavior

The shadows should be appearing correctly when zoomed in

Operating System

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority 3: MediumSomething that should be attempted/looked at for the next release, and done if possible.Size 4: SmallSomething that will take up to a day to do.Type: BugThis is a problem with something that should be working one way, but isn't.What: EntitiesIssues relating to entitiesWhat: GraphicsGraphics-related stuff

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions