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

Optimize the effect and render once instead of 5 times #49

Merged
merged 4 commits into from
Jul 22, 2022

Conversation

matinlotfali
Copy link
Owner

@matinlotfali matinlotfali commented Jul 22, 2022

To address issue #50, this pull request combines all OpenGL render requests into only one. Therefore, it improves the performance of the effect. The screenshot below shows that the FPS only drops to 25 which is better than 15.
Optimized

@matinlotfali matinlotfali changed the title Optimize the effect and render once instead of 4 times Optimize the effect and render once instead of 5 times Jul 22, 2022
@matinlotfali matinlotfali linked an issue Jul 22, 2022 that may be closed by this pull request
@matinlotfali matinlotfali merged commit 6378dc3 into master Jul 22, 2022
@matinlotfali matinlotfali deleted the hotfix/optimizations branch July 22, 2022 20:57
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.

The effect is heavy and consumes a lot of CPU and GPU resources
1 participant