Skip to content

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
@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.

2 participants