Skip to content

uniform float dtime; #21

Open
Open
@dashxdr

Description

@dashxdr

I'd like to have the time delta passed in (time from last frame). If a shader makes use of the backbuffer it ought to know the time it was rendered. As it is it's impossible to abstract away the framerate from computations.

This comes up in this shader:
http://glsl.heroku.com/e#7185.30
If I had faster framerate I'd want the smaller copies moving off into the distance to take a smaller step.

Also I'd love an fps display, it would help greatly in tuning code for efficiency.

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