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

onurhb/ShaderCloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published