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

Expose MeshPortalMaterial RenderTarget #2025

Open
frankievx opened this issue Jul 10, 2024 · 0 comments
Open

Expose MeshPortalMaterial RenderTarget #2025

frankievx opened this issue Jul 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@frankievx
Copy link
Sponsor Contributor

Describe the feature you'd like:

I'm working with the MeshPortalMaterial and I'm interested in running a custom shader effect that is dependent on an initial snapshot of the scene in order to define a color palette. In order to accomplish this, I need access to the internal portal's render target in order to read the pixels. I think the benefit of exposing the render target allows for more control and the ability to apply postprocessing effects to the portal.

Suggested implementation:

I'd be happy to implement this however would want some feedback on if this is a good idea or not before i spend the time and effort.

@frankievx frankievx added the enhancement New feature or request label Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant