Skip to content

Perfomance tips #3

Description

@lgarczyn

Hey, been playing around with your shader, there are two major ways I've improved performances:

  • Stop setting every single parameter of the shader every single frame. I got double the framerate by fixing that.

  • Worley noise is basically a signed distance field. You can dramatically reduce artifacts and increase performances by changing the step size depending on density (negative and positive)

Activity

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

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