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

Conversation

Projects
None yet
2 participants
@julien-moreau
Contributor

julien-moreau commented Jun 18, 2015

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 TEXTURE_FLOAT support for 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

Merge pull request #572 from julien-moreau/master
Adding features in BABYLON.PostProcess

@deltakosh deltakosh merged commit f17a602 into BabylonJS:master Jun 18, 2015

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment