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

Drop Shadow Filter: allow shadow scale/size/direction adjustment #306

Open
tachikoma-days opened this issue Sep 14, 2021 · 1 comment
Open

Comments

@tachikoma-days
Copy link

Rotation is implemented, my suggestion is to add a height / width adjustment, along with shadow angle adjustment. This would allow for a faux 3D effect for isometric purposes, 3D-ish sidescrollers and other stuff.
example

@ivanpopelyshev
Copy link
Contributor

For 3d-ish sidescrollers where you need ~20 objects like this , it'll be slow as heck. Shadows are usually pre-rendered, dropshadow is good only for prototyping game. You can pass result of whatever blur you have to https://pixijs.io/examples/#/filters-advanced/pixie-shadow-filter.js , making a multi-pass filter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants