Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (gray > 0.5)
- {
- output = 1 - 2 * (1 - rippleTexture) * (1 - waterTexture);
- }
- else
- {
- output = 2 * rippleTexture * waterTexture;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement