-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Hi,
When I use my extended Filter3d classes(Gamma correction shader),
It fires an error.
"Uncaught TypeError: Cannot read property 'width' of undefined"
It occurs in Context3D.setRenderToTexture().
And the width is Texture.frameBuffer.width.
Here are the classes for reproducing:
GammaCorrectionFilter3D.ts
https://gist.github.com/GoroMatsumoto/9405246100f029966bdd
Filter3DGammaCorrectionTask.ts
https://gist.github.com/GoroMatsumoto/26fee6124e22c2ed4423
this._filter3ds = new Array<away.filters.Filter3DBase>();
this._filter3ds[0] = new away.filters.GammaCorrectionFilter3D(2.2);
this._view.filters3d = this._filter3ds;
Metadata
Metadata
Assignees
Labels
No labels