Skip to content

How to enable GLSL extensions like OES_standard_derivatives? #206

@subblue

Description

@subblue

Feature

How to enable GLSL extensions like OES_standard_derivatives?

library version

├── gl-react@3.15.0
└── gl-react-dom@3.15.0

Expected behavior

I tried using the onContextCreate function of the gl-react-dom Surface which exposes the gl instance to enable the extension via gl.getExtension('OES_standard_derivatives')

Actual behavior

Assigning a custom function to onContextCreate actually silently prevents any rendering from happening!

Is there another way to enable additional WebGL extensions?

Thx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions