Guest User

Untitled

a guest
Jan 21st, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. #ifndef TONE_INCLUDED
  2. #define TONE_INCLUDED
  3.  
  4. half4 _Tone;
  5.  
  6. half3 CalcTone(half3 c)
  7. {
  8. return lerp(c, _Tone.x*pow(c, _Tone.y) + _Tone.z, _Tone.w);
  9. }
  10.  
  11. #endif
Add Comment
Please, Sign In to add comment