Skip to content

example shaders not compatible with WebGL2 #16870

@aardgoose

Description

@aardgoose

Out of curiosity I have tried running the examples using a WebGL2 context, several fail. The most common problem is the use of ShaderMaterials with a uniform 'texture' which conflicts with the GLSL ES 3.0 texture() function (easily fixed by renaming the uniform of course).

I think it would be good if examples avoided this issue, given the confusion that may occur if/when examples are used as the basis for other's code.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions