Skip to content

feat: update to WebGL 2 #1092

@dragoncoder047

Description

@dragoncoder047

Is your feature request related to a problem? Please describe.

it's backwards compatible as far as I know so we shouldn't have to change much, the only hiccup is with shaders, since we don't have attribute and varying anymore, they're a combination of in and out, as well as needing the shader to start with "#version 300 es\n..."

Any more information?

WebGL 2 has vertex array objects support, it might improve performance

if we don't want to go around breaking everyone's shaders in v5000 we can still try VAOs by getting the extension OES_vertex_array_object

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions