Skip to content

Conversation

@panxinmiao
Copy link
Contributor

close #339

The shadertoy tool now supports GLSL code.

When using GLSL, the built-in variables and entry functions have an additional alias (camel-case), which is consistent with the shadertoy website. In this way, we can use the code directly copied from the website almost without any modification.

I also added several examples of using GLSL.

@panxinmiao panxinmiao requested a review from Korijn as a code owner February 17, 2023 02:26
Copy link
Member

@almarklein almarklein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Just two typo's.

@almarklein almarklein mentioned this pull request Feb 17, 2023
@Korijn Korijn merged commit 0794141 into pygfx:main Feb 17, 2023
@panxinmiao panxinmiao deleted the shadertoy branch May 24, 2024 22:06
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

Successfully merging this pull request may close these issues.

Support GLSL in shadertoy

3 participants