Advertisement
Guest User

Untitled

a guest
Dec 7th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1.  
  2. if (gray > 0.5)
  3. {
  4. output = 1 - 2 * (1 - rippleTexture) * (1 - waterTexture);
  5. }
  6.  
  7. else
  8. {
  9. output = 2 * rippleTexture * waterTexture;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement