-
-
Notifications
You must be signed in to change notification settings - Fork 36k
TSL: Introduce Chromatic Aberration #31236
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
Conversation
Example page for ca node
Add nodeObject in ca params, for ability to use a procedural node Update example gui to toggle procedural / static
https://github.com/mrdoob/three.js/blob/dev/examples/jsm/tsl/display/RGBShiftNode.js @Mugen87 Can you experiment and advise as to how to best merge this with |
If the effects are redundant I would rather remove one of them and keep the better implementation. I'd like to focus on a few other things right now though. Sorry for overlooking |
Description
This pull request adds a new post-processing node for chromatic aberration effect in Three.js WebGPU/TSL.
Implementation Details
The
ChromaticAberrationNode
provides:Example Usage
Demo
https://github.com/pashaydev/three.js/blob/ca_node/examples/webgpu_postprocessing_ca.html
PS:
I was looking into that effect build-in TLS but not found, if it will be helpful to someone like me i will be glad)