Skip to content
This repository has been archived by the owner on Aug 12, 2023. It is now read-only.

Latest commit

 

History

History
36 lines (26 loc) · 978 Bytes

README.md

File metadata and controls

36 lines (26 loc) · 978 Bytes

ShaderCloud

ShaderCloud is a minimal audio visualizer inspired by shadertoy.
The visualizer can be programmed using the OpenGL shading language.

VIDEO
Video Demo

Usage

Create a file with .frag extension.
Copy the template below and write your shader in mainImage()

#version 450 core

// --------------------------------- DO NOT TOUCH

uniform vec2 iResolution;
uniform sampler2D iChannel0;
uniform float iGlobalTime;

// --------------------------------- USER DEFINED SHADER

void mainImage( out vec4 fragColor, in vec2 fragCoord )
{
	vec2 uv = fragCoord.xy / iResolution.xy;
	fragColor = vec4(uv,0.5+0.5*sin(iGlobalTime),1.0);
}
// ---------------------------------

void main(){
     mainImage(gl_FragColor, gl_FragCoord.xy);

}

Open the file in ShaderCloud with your favorite song and watch it whip nae nae!