Skip to content

iTime Does Not Reset to 0 When Reloading Shader via "Show GLSL Preview" #192

@shengsword

Description

@shengsword

When using the "Show GLSL Preview" command (or close the preview and reopen), the iTime uniform does not reset to 0.0 as expected. Instead, it continues accumulating from the previous runtime duration. This behavior contradicts Shadertoy.com, where time resets on every shader recompilation/reload.

fragColor = vec4(vec3(iTime * 0.1), 1.0);

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