Skip to content

Offscreen Canvas Support #114

Description

@Ctrlmonster

Hello,

I tried to use Effekseer in a three.js app with an Offscreen Canvas on a web worker today, but failed to make it happen.

First there are multiple usages of new Image, e.g. here and here which is not available on web workers. I replaced those with createImageBitMap(), but there is still an error thrown somewhere in a promise, followed by [.WebGL-0x11f423912900] GL_INVALID_OPERATION: Must have element array buffer bound..

Would it be possible to make Effekseer for WebGL compatible with offscreen canvas rendering? 🙏
Kind Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions