Skip to content

Instantly share code, notes, and snippets.

@behreajj
Created May 22, 2021 20:41
Show Gist options
  • Save behreajj/fe4034ba452c0ff52d6ecba43609c254 to your computer and use it in GitHub Desktop.
Save behreajj/fe4034ba452c0ff52d6ecba43609c254 to your computer and use it in GitHub Desktop.
Floor Mod
shader modScalar(
float A = 0.0,
float B = 1.0,
output float Mod = 0.0) {
Mod = mod(A, B);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment