Skip to content

[Feature request] Support for prerendering/SSR/static rendering #82

@brunobely

Description

@brunobely

It would be awesome if it was possible to show a placeholder image before the graphics context loads on the client. I'm by no means a WebGL or graphics expert but I think this could be achieved with libraries such as headless-gl?

Another neat feature something like that would unlock would be something like a static prop which would make it it so that the shader is prerendered as an image and doesn't actually use WebGL on the client. I've been playing around with a MeshGradient + Metaballs and it freezes up my GPU process in Chrome after the tab has been open for a while, so a static equivalent, especially if the shader is just used as a cool background, would be amazing.

The static option could also make the prerender simulate the state of a shader after some amount of time had elapsed since it started?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions