Skip to content

Chore: Make the code extensible and usable outside DepthScene by refactorΒ #43

Open
@Tremeschin

Description

The readme of ShaderFlow contains a modified DepthFlow shader with a Music Visualizer glued on top and it looks amazing.

The DepthFlow shader can be refactored into a standalone file defining a struct of parameters, and a single function to do the projections (might need to accept a Camera element as well), returning the final coordinate and other utils of the algorithm.

This would allow creating awesome derivative work out of it, instead of doing everything inside its own void main() function on GLSL !

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status

      Planned

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions