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

TSL: Editor (GLSL) #26283

Merged
merged 5 commits into from Jun 19, 2023
Merged

TSL: Editor (GLSL) #26283

merged 5 commits into from Jun 19, 2023

Conversation

sunag
Copy link
Collaborator

@sunag sunag commented Jun 18, 2023

Related issue: #26270

Description

https://raw.githack.com/mrdoob/three.js/dev/examples/webgpu_tsl_editor.html

Adds initial support for GLSL.

@sunag sunag added the TSL Three.js Shading Language label Jun 18, 2023
@sunag sunag added this to the r154 milestone Jun 18, 2023
high: 'highp'
};

class GLSLNodeBuilder extends NodeBuilder {
Copy link
Contributor

Choose a reason for hiding this comment

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

At some point we will remove WebGLNodeBuilder (in favor of GLSLNodeBuilder), right?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Hmm... I think WebGLNodeBuilder will generate code to WebGLRenderer, while GLSLNodeBuilder will generate code to WebGLBackend.

@sunag sunag merged commit e2d1338 into mrdoob:dev Jun 19, 2023
18 checks passed
@sunag sunag deleted the dev-editor-glsl branch June 19, 2023 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TSL Three.js Shading Language
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants