-
Notifications
You must be signed in to change notification settings - Fork 57
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
Adding viewport to layers #55
Comments
Hello! Thanks for sharing the demo. yes, there was a report that lighting + viewport = broken interaction. I can look at it next week. Are you sure that your layers themselves aren't controlled by viewport, only world is? |
nailed it! the lighting layer was attached to viewport and not app stage... |
yeah, because that texture is already taken from the screen coords, and you dont need to scroll/scale it :) I think someone had that problem already ... |
I ran into this also haha. Don't be like me and try to open up Solve it the way OP solved it in their working example https://stackblitz.com/edit/rxjs-xupagq |
Hi,
I tried to put pixi-layers in a viewport (with pixi-viewport).
I have achivied a render but interactions are not working...
see source sample : https://stackblitz.com/edit/rxjs-xupagq
oddly when commenting the line 74 (lighting not working) -> interactions are working again
The text was updated successfully, but these errors were encountered: