/DesktopWallpaper

Wallpaper rendering using shaders from shadertoy.com

Primary LanguageC

See updated version of wallpaper

Build/x86 - ready application
./ - source code

Can run any shader from shadertoy.com

Following code should be inserted into shader beginning

#version 330 core

uniform float iTime;
uniform float iTimeDelta;
uniform int   iFrame;
uniform vec3  iResolution;

vec2 fragCoord = gl_FragCoord.xy;
out vec4 fragColor;

Shader entry point

void mainImage(out vec4 fragColor, in vec2 fragCoord)

Should be replaced with

void main()

Running examples

To start an example (Taken from shadertoy with successfully forgotten authors' tags) from shaders folder - simply copy fragment_shader.glsl to program root directory and do Reload shader