Comments (7)
Have you tried to set mist: false
in RenderingOptions
? Turnning this off should completely disable bluring.
from raindrop-fx.
What GPU are you using? On my GTX 1050Ti with 1080x1920 screen on Chrome. The frame cost is lower than 6ms with both CPU + GPU.
from raindrop-fx.
Have you tried to set
mist: false
inRenderingOptions
? Turnning this off should completely disable bluring.
Disabling mist entirely does reduce the GPU usage slightly, but it doesn't disable the blur effect being applied to the background image, (as I said before I think that disabling the blur effect in the background will reduce GPU usage, but I'm not sure if it will, what do you think?)
What GPU are you using? On my GTX 1050Ti with 1080x1920 screen on Chrome. The frame cost is lower than 6ms with both CPU + GPU.
I use a 1660Ti, 3840x1080, having it run with mist on uses 43% of my gpu and having mist off uses 37% of my gpu.
from raindrop-fx.
I reviewed my old code, rendering the blury mist actually cost only one drawcall. The blur pass is only done once when background image or size is changed.
I profiled on my workstation with RTX 3080Ti, it cost only 0.3~0.4 ms during every update. Which should be a very low cost compare to a common video game. While the windows task manager reports at 35% GPU usage.
I think the GPU usage reported by task manager is not reliable.
from raindrop-fx.
Do you suffered any system latency or frame drop while running this raindrop page together with a video game?
The most heavy works in this raindrop effect is actually on CPU side, which have to simulate thousands of sliding droplets.
from raindrop-fx.
Thank you SardineFish for your response, the only reason I was worrying about the GPU usage is because I view my desktop alot,
the constant use of gpu, and repeatedly cooling down and heating up when I'm not viewing the desktop might be harmful for my GPU, as the wallpaper pauses once a window is maximized (not viewing the desktop).
I have not attempted to play a game while having the wallpaper running, and I think you might be right with taskmanager not being accurate with gpu usage, thank you for helping and responding.
from raindrop-fx.
I think you don't have to wory about using GPU repeatedly cooling down and heating up. Actually the system always use your GPU to do a lot rendering works while you may not notice it.
For example, when I minimize my chome window, the GPU usage immediately gose to 40% and quickly drop to 10%.
PC hardware is much more durable than you thought.
from raindrop-fx.
Related Issues (10)
- 部分场景四周边缘生成的雨滴泛白比较奇怪 HOT 1
- How to make background not blurry HOT 8
- Is it possible to remove the "fog"? HOT 1
- 实现原版RainEffect的鼠标效果 HOT 6
- 在vue-cli构建的项目里我无法将它运行起来 HOT 4
- It's broken in Safari iPhone? HOT 1
- vue-cli 4.5项目导入出错 HOT 4
- canvas销毁后,object does not belong to this context HOT 12
- 关于新版的问题 HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from raindrop-fx.