Skip to content

Serializing WebGLRenderTarget/Cube's texture into a data URL #16762

@jsantell

Description

@jsantell

Currently, serializing a scene with a WebGLRenderTarget/Cube via toJSON() results in a texture object without a base64 URL, since the texture's image property is empty. We should generate a data URL for the target's current buffer for the target's texture.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions