Author: Not specified Language: glsl
Description: Not specified Timestamp: 2017-08-29 06:52:33 +0000
View raw paste Reply
  1. precision highp float;
  2. varying vec4 vertexPosition;
  3. void main(void) {
  4.   float radiusSquared = vertexPosition.x * vertexPosition.x + vertexPosition.y * vertexPosition.y;
  5.   float ss1 = cos(1000.0*vertexPosition.x * vertexPosition.y);
  6.   float ss2 = sin(8000.0 * (1.0 - radiusSquared));
  7.   gl_FragColor = vec4(ss1, ss2, 0.5, 1.0);
  8. }
View raw paste Reply