Skip to content

Remove implicit dependency on Three.js #21

Description

@zole

Currently the shaders use Three's ShaderChunk snippets and runtime #include resolution, which makes them unusable outside of Three (without some effort). The uniforms are also defined by Three but it seems like that would be easy enough to integrate into a different rendering strategy.

One option that could maybe be automated would be to have Three.js prepare the shader program and output the shader source code before it's sent to the compiler. Alternately, we could do that once, save the results to the repository, and feed them to a THREE.RawShaderMaterial instead of a ShaderMaterial.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions