We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Modified this example http://pixijs.github.io/examples/index.html?s=filters&f=blur-filter.js&title=Blur with the code below:
var renderer = PIXI.autoDetectRenderer(800, 600); document.body.appendChild(renderer.view); var stage = new PIXI.Container(); var littleRobot = PIXI.Sprite.fromImage('_assets/depth_blur_moby.jpg'); littleRobot.position.x = (renderer.width / 2) - 200; littleRobot.position.y = 100; stage.addChild(littleRobot); littleRobot.filters = [new PIXI.filters.DropShadowFilter()]; requestAnimationFrame(animate); function animate() { renderer.render(stage); requestAnimationFrame( animate ); }
And I got: TypeError: PIXI.filters.DropShadowFilter is not a constructor.
TypeError: PIXI.filters.DropShadowFilter is not a constructor
The text was updated successfully, but these errors were encountered:
Seems they removed the filter in version 4
Sorry, something went wrong.
closing for now as filter is due to reappear in the pixi-filters repo
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
No branches or pull requests
Modified this example http://pixijs.github.io/examples/index.html?s=filters&f=blur-filter.js&title=Blur with the code below:
And I got:
TypeError: PIXI.filters.DropShadowFilter is not a constructor
.The text was updated successfully, but these errors were encountered: