The shadows' textures cannot be prevented from generating #13376
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
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.
The text was updated successfully, but these errors were encountered: