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

The shadows' textures cannot be prevented from generating #13376

Open
rustui opened this issue May 15, 2024 · 0 comments
Open

The shadows' textures cannot be prevented from generating #13376

rustui opened this issue May 15, 2024 · 0 comments
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior C-Performance A change motivated by improving speed, memory usage or compile times S-Needs-Investigation This issue requires detective work to figure out what's going wrong X-Uncontroversial This work is generally agreed upon

Comments

@rustui
Copy link
Contributor

rustui commented May 15, 2024

Bevy version

0.13.2

What you did

Set the shadows_enabled property of PointLight to false

What went wrong

The shadow texture of PointLight still occupy video memory. I haven't even added DirectionalLight, yet its shadow texture are also taking up video memory.

If I set the size of PointLightShadowMap to 0, the program crashes. Therefore, I have to set it to 1 to reduce memory usage.

@rustui rustui added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels May 15, 2024
@alice-i-cecile alice-i-cecile added A-Rendering Drawing game state to the screen C-Performance A change motivated by improving speed, memory usage or compile times S-Needs-Investigation This issue requires detective work to figure out what's going wrong X-Uncontroversial This work is generally agreed upon and removed S-Needs-Triage This issue needs to be labelled labels May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior C-Performance A change motivated by improving speed, memory usage or compile times S-Needs-Investigation This issue requires detective work to figure out what's going wrong X-Uncontroversial This work is generally agreed upon
Projects
None yet
Development

No branches or pull requests

2 participants