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

Alpha-channel shadow support #3

Closed
FraserLee opened this issue Oct 23, 2022 · 1 comment
Closed

Alpha-channel shadow support #3

FraserLee opened this issue Oct 23, 2022 · 1 comment

Comments

@FraserLee
Copy link
Owner

There's an open bevy issue for this at bevyengine/bevy#4372, seems like the most straight-forward path would be to go in and resolve this in the engine. Barring that, there are a few more patch-style fixes we could try:

  • Manually creating a far simpler interim shader for sprites, possibly at the cost of PBR
  • Analytically modifying mesh shape to fit the contours of a non-transparent sprite
    • This might have some side-benefits in collision, mouse picking, etc.

Will look into this more later.

@FraserLee
Copy link
Owner Author

bevy-0.10 fixes this. Nice.

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

No branches or pull requests

1 participant