-
Notifications
You must be signed in to change notification settings - Fork 14
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
maskSprite emits GL ERROR when applied #7
Comments
@ivan I actually noticed this bug too... I didn't wanna bother u with it at the time and since I was limited on time I couldn't spend too much time messing with it spriteMasked gave me the same issue so I wasn't able to use it... |
Yesm I broke it and spent three last days fixing it. I uploaded fix here: https://github.com/gameofbombs/pixi-heaven/tree/master/dist gonna make npm release now. Thank you, @rkdrnf for noticing that! |
Awesome Ivan!!! I'll test it soon! |
Had the same issue. Is solved with great help from @ivanpopelyshev! |
Thank you it now works! |
I'm trying to convert masking as batch operation using pixi-heaven.
But below code which is almost same as that of in README, emits error
[.WebGL-0x7f87e084c200]GL ERROR :GL_INVALID_OPERATION : glDrawElements: attempt to access out of range vertices in attribute 0
heartGauge
is aPIXI.heaven.Sprite
andmask
is aPIXI.Sprite
.container
is plain Pixi containerPlain PIXI mask works well with same mask texture.
My pixi version is v4.
Is there anything I'm missing?
The text was updated successfully, but these errors were encountered: