Skip to content

Stop shader animation timer on static frames#81

Merged
zackslash merged 1 commit into
mainfrom
fix/idle-gpu-drain
Jul 18, 2026
Merged

Stop shader animation timer on static frames#81
zackslash merged 1 commit into
mainfrom
fix/idle-gpu-drain

Conversation

@zackslash

Copy link
Copy Markdown
Owner

The shader animation timer ran at ~30fps while cursor trails were active, driving a full-screen post-pass every frame even after the trail settled and the screen was static. Now stops the timer once the frame is static and restarts it on cursor movement. Custom shaders keep the timer alive since they may depend on iTime for animation.

@zackslash
zackslash merged commit d036c05 into main Jul 18, 2026
3 checks passed
@zackslash
zackslash deleted the fix/idle-gpu-drain branch July 18, 2026 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant