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

webgl #22

Closed
lzjjjjjjj opened this issue Dec 25, 2020 · 2 comments
Closed

webgl #22

lzjjjjjjj opened this issue Dec 25, 2020 · 2 comments

Comments

@lzjjjjjjj
Copy link

webgl可以使用什么插件一起使用可以进行动画效果

@stegu
Copy link
Contributor

stegu commented Dec 30, 2020

I do not understand your language, and Google Translate tells me that your comment means "What plug-ins can be used together for animation effects". That is nonsense, so I must assume the translation is wrong and try to answer the question I think you might have.

These are GLSL functions, and you can use them separately or together in any GLSL shader, including GLSL for WebGL. Because there is no smart linker or preprocessor in the GLSL compilation environment, you might need to delete duplicate copies of the helper functions "mod289" and "permute" in cases where their type signatures are an exact match. Note that there are several overloaded versions of these functions for float and vec2/3/4 types, so not all of them will clash when you cut and paste two or more of these functions into the same shader.

@stegu
Copy link
Contributor

stegu commented Jun 29, 2021

Closing the issue for lack of any further communication from the submitter.

@stegu stegu closed this as completed Jun 29, 2021
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