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 SplatMaterial.getVertexShaderFadeIn or similar #377

Open
hybridherbst opened this issue Nov 26, 2024 · 1 comment
Open

Expose SplatMaterial.getVertexShaderFadeIn or similar #377

hybridherbst opened this issue Nov 26, 2024 · 1 comment

Comments

@hybridherbst
Copy link

hybridherbst commented Nov 26, 2024

For custom effects, it would be great to have a callback into shader generation. This can currently be achieved with some hackery (e.g. attach to three's shader compiler), but I think having a dedicated callback would be cleaner.

Even just exposing some way to monkey-patch into a shader method would be useful.

This could look similar to https://lumalabs.ai/luma-web-library (see "Custom Shaders", "Shader Hook API")

@mkkellogg
Copy link
Owner

I think this sort of capability would be great to have, it would make adding custom effects much easier and it could make it easier to solve issues like this one without creating a new release. Hopefully I'll have some time soon to add something like this!

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

No branches or pull requests

2 participants