Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hammer] Entity-only recompile always destroys baked lighting #6838

Open
chrisspieler opened this issue Nov 7, 2024 · 0 comments
Open

[Hammer] Entity-only recompile always destroys baked lighting #6838

chrisspieler opened this issue Nov 7, 2024 · 0 comments

Comments

@chrisspieler
Copy link

Describe the bug

When compiling a map in Hammer using the Only Entities preset, lightmaps and light probe data will be removed from the map regardless of whether anything that would affect this data was actually changed.

To Reproduce

  1. Open the attached project in the s&box editor
  2. Open maps/ducc_room.scene
  3. See that the map loaded by the MapInstance has soft shadows from the lightmap, and accurate ambient lighting on its GameObjects
  4. Open maps/ducc_room.vmap in Hammer
  5. Compile the map using the Only Entities preset
  6. Switch back to the s&box editor window
  7. See that the map has hard shadows from a dynamic sun, and GameObjects from the map no longer receive any ambient lighting

Expected behavior

Lighting and light probe data should not be lost unless a change was made to static parts of the map that would require this data to be recalculated.

Media/Files

repro.zip

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To triage
Development

No branches or pull requests

1 participant