Comments (8)
Set backgroundBlurSteps
to 0
should help :)
from raindrop-fx.
"Sorry for not explaining clearly. I want to make the blurred background clear. Setting the 'backgroundBlurSteps' value to 0 just turns the raindrops black (as shown below). What I want is to have the background clear in the background. Thank you.
from raindrop-fx.
That should be a BUG. I will fix it in few days.
from raindrop-fx.
@SardineFish Thank you
from raindrop-fx.
@smallma Try this PR by changing your package dependency to
"dependencies" : {
"raindrop-fx" : "git+https://github.com/SardineFish/raindrop-fx.git#fix-background-blur"
}
Then you can disable background blur by setting backgroundBlurSteps
to 0
.
If works, I will merge it.
from raindrop-fx.
@SardineFish 非常感謝你的幫忙 但看起來還是不行, 我把背景換成清楚的版本和你提供的 js 原始碼 雨滴還是有破圖 再麻煩幫忙看看 謝謝
https://codepen.io/smallma009/pen/oNJdoew
from raindrop-fx.
我发现问题主要因为你的图片是带有透明的 PNG,图中的白色背景实际上是透明黑色 rgba(0, 0, 0, 1)
。但是雨滴在渲染时不会采样 alpha 通道,所以得到了黑色。建议你可以更换一张背景图或是加上一个实色背景。我也会在后续加入对透明图片的支持
from raindrop-fx.
非常感謝你的協助 謝謝
from raindrop-fx.
Related Issues (10)
- [Help Wanted, Question] How to disable blur and reduce GPU usage? HOT 7
- 部分场景四周边缘生成的雨滴泛白比较奇怪 HOT 1
- Is it possible to remove the "fog"?
- 实现原版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.