-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
Compatibility with other postprocessing solutions #29
Comments
You are right, the |
I tend to prefer more targeted add-on libraries over catchall extras libraries as they often end up sprawling a bit. Sometimes it's a better fit though, e.g. if many of the extras are interconnected. I think my ideal setup would be:
|
Joining this thread, it would be nice for a plug-and-play way to use effects like https://github.com/mrdoob/three.js/blob/master/examples/webgl_effects_ascii.html since it's not entirely clear at the moment how to get hold of the renderer for effects like this. |
So with the new monorepo we could have a package |
@grischaerbe with the availability of useRenderer this can be closed possibly? |
Yep, |
The
<Pass>
component is quite handy in its ease of use. However, its implementation seems to depend on the post-processing examples in three.js, so if you want to use something like the postprocessing package it seems you're out of luck. Any thoughts on adding support for this?In the case of the postprocessing package, the basic API is not quite drop-in but still pretty similar (there's an EffectComposer and a default RenderPass with the same constructor signatures as the three.js examples), so it probably wouldn't be too hard to specifically support this package as an alternative. In theory I suppose there could be other solutions with varied APIs, so one could argue for a more generic way to hook into the render cycle, but in practice I don't know of any other postprocessing solutions, so going that far might be overengineering.
The text was updated successfully, but these errors were encountered: