Skip to content

Is it possible to add an global variable clock/time for shader ? #334

@hooke007

Description

@hooke007

https://libplacebo.org/custom-shaders/#shaders

I could use int frame to implement the similar effect in my shader. But it doesn't work for the image.

I wish the value of clock will increase 1 each second and reset to 0 after loading the new file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions