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

When using ParticleRenderer, white border appears around particle. #125

Closed
yinxing-ws opened this issue Mar 26, 2021 · 2 comments · Fixed by #127
Closed

When using ParticleRenderer, white border appears around particle. #125

yinxing-ws opened this issue Mar 26, 2021 · 2 comments · Fixed by #127
Assignees
Labels
bug Something isn't working

Comments

@yinxing-ws
Copy link

Describe the bug
It looks like this:
image

I'm not sure this problem is about the png image I use or the render system.
Here is the image I use: https://gw.alipayobjects.com/zos/gltf-asset/mars-cli/QUTYGTEWBLYN/1622456348-b6060.png
And Here is my code:
image

To Reproduce
Steps to reproduce the behavior:
Just use ParticleRenderer and set texture to the image above.

Expected behavior
White border should not appear.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: mac OS
  • Browser chrome

Smartphone (please complete the following information):

  • Device: iphone and android

Additional context
Something may be helpful: The same problem appears on @alipay/mars-player (I dont remeber specific version), but the latest version has fixed this.

@GuoLei1990 GuoLei1990 self-assigned this Mar 26, 2021
@GuoLei1990 GuoLei1990 added the bug Something isn't working label Mar 26, 2021
@GuoLei1990 GuoLei1990 linked a pull request Mar 26, 2021 that will close this issue
3 tasks
@GuoLei1990
Copy link
Member

GuoLei1990 commented Mar 26, 2021

We have fixed this bug with #127

@GuoLei1990
Copy link
Member

If there is no relevant report for version 0.3, we will close this issue later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants