Skip to content

user shader: The PARAM would be reported as out of range #338

@hooke007

Description

@hooke007
//!PARAM test
//!TYPE float
//!MINIMUM 0.001
1.0

Sometimes when I use the MINIMUM for PARAM in shader, I will get the error that the value i set is invalid if i run set glsl-shader-opts test=0.001 in mpv.
Only if I set //!MINIMUM 0.0, I could use the command above successfully.

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