Author: Not specified Language: glsl
Description: Not specified Timestamp: 2017-08-29 06:44:22 +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 ss = sin(8000.0 * (1.0 - radiusSquared));
  6.           gl_FragColor = vec4(0.0, ss, 0.5, 1.0);
  7.         }
View raw paste Reply