Skip to content

[Fix] ClusteredOmniShadows example - avoid debug render texture when destroyed#8433

Merged
mvaligursky merged 1 commit into
mainfrom
mv-shadow-atlas-debug-render
Feb 3, 2026
Merged

[Fix] ClusteredOmniShadows example - avoid debug render texture when destroyed#8433
mvaligursky merged 1 commit into
mainfrom
mv-shadow-atlas-debug-render

Conversation

@mvaligursky

@mvaligursky mvaligursky commented Feb 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fixes WebGPU error in clustered-omni-shadows example where drawTexture could reference a destroyed shadow atlas texture
  • Adds checks to skip rendering when the texture is destroyed (device === null) or is still a 1x1 placeholder

@mvaligursky mvaligursky merged commit 4f21860 into main Feb 3, 2026
8 checks passed
@mvaligursky mvaligursky deleted the mv-shadow-atlas-debug-render branch February 3, 2026 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants