Skip to content
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 features in BABYLON.PostProcess #572

Merged
merged 1 commit into from Jun 18, 2015
Merged

Adding features in BABYLON.PostProcess #572

merged 1 commit into from Jun 18, 2015

Conversation

julien-moreau
Copy link
Contributor

Adding onAfterRender function in BABYLON.PostProcess: useful to call "engine.readPixels" after rendering the post-process

Make the "ratio" parameter as number or any (PostProcess constructor). Then users can explicitly tell the post-process dimension:

  • ratio = 1.0; // number
  • ratio = {width: 2, height: 2 }; // any, like "size" in engine.createRenderTargetTexture(size: any, ...);

Adding TEXTURE_TYPE support in BABYLON.PostProcess constructor to allow floating point render target textures in post-processes

Adding onAfterRender function in PostProcess: useful to call "engine.readPixels" after rendering the post-process

Make the "ratio" parameter as number or any (PostProcess constructor). Then users can explicitly tell the post-process dimension.
If any :
 - ratio = {width: 2, height: 2 }; // For example
deltakosh added a commit that referenced this pull request Jun 18, 2015
Adding features in BABYLON.PostProcess
@deltakosh deltakosh merged commit f17a602 into BabylonJS:master Jun 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants