This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// shader example for Processing | |
// uniform - variables set in Processing sketch using shader.set() | |
// varying - variables set by Processing itself | |
// image to process | |
uniform sampler2D texture; | |
// mouse position normalized | |
uniform vec2 inp; | |
// vertex color |