-
Notifications
You must be signed in to change notification settings - Fork 20
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
Extended Filter3d classes fire an error. #23
Comments
Hello Goro, looks like that issue was also caused by the TypeScript 0.9.5 update. This should now be fixed in the Repo ( although the fix in Context3D is a bit of a monkey patch for now ) - it should be working with the latest push. |
Hi, Thank you this fix too. WebGLFramebuffer.width/height is not available(at least on my environment:OSX, chrome).
This doesn't get the error on compiling. But I get 2 of warning on the fly with black screen. [.WebGLRenderingContext]PERFORMANCE WARNING: Attribute 0 is disabled. This has signficant performance penalty SimpleTest.html:1 Could you test my above classes? |
I guess that there are same problems on BackGroundRenderer, And real time reflection textures. |
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
The text was updated successfully, but these errors were encountered: