Skip to content

Instantly share code, notes, and snippets.

@arturoc
Created June 11, 2017 14:45
Show Gist options
  • Save arturoc/2e9e7823f2c6e19b2bcc363acc459b8b to your computer and use it in GitHub Desktop.
Save arturoc/2e9e7823f2c6e19b2bcc363acc459b8b to your computer and use it in GitHub Desktop.
float m = 0;
float Q = 1.;
float a = 1.12;
vFragColor = asinh(a * Q * (color - m)) / Q;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment