Apply shader once per change instead once per frame #1
Labels
No labels
breaking change
bug
CLI
documentation
duplicate
enhancement
invalid
performance
question
shader-library
UI/UX
unsure
waiting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: ChaoticByte/Fragmented#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
By copying the viewport texture after the shader was applied to the canvas2d, setting the viewport texture to the canvas2d, and removing the shader, we have the result visible, the shader was applied, and heavy shaders won't drag down the performance as the shader is only computed once (best case) or a few frames (worst case).