alixinne / libshadertoy

A library for rendering GLSL shaders in an Shadertoy-like environment

Home Page:https://vtavernier.github.io/libshadertoy/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

libshadertoy

Build Status Codacy Badge Bintray master docs develop docs License: MIT

libshadertoy is a C++ library for rendering multipass programs using OpenGL desktop. Its defaults allow running programs written for the shadertoy website, but it can be easily extended. This library can be either compiled from source, or installed from the built Debian packages.

Introduction

Documentation

Read the online documentation.

Usage

This library only uses an existing OpenGL context that must be created and made current before trying to render frames from a program. This can be achieved using GLFW3 (recommended), GLUT or any other context creation library. Extension loading is done using libepoxy, although this is transparent to the user of the library.

See the examples/ folder on how to use this library.

Note that only iResolution, iTimeDelta, iFrameRate, iChannel0, iChannel1, iChannel2 and iChannel3 are automatically maintained by the library render context. The host is responsible for updating other uniforms, such as iFrame, iTime and such.

Copyright

libshadertoy - Vincent Tavernier vince.tavernier@gmail.com

About

A library for rendering GLSL shaders in an Shadertoy-like environment

https://vtavernier.github.io/libshadertoy/

License:MIT License


Languages

Language:C++ 88.6%Language:CMake 7.8%Language:Shell 2.1%Language:Makefile 0.6%Language:GLSL 0.5%Language:Batchfile 0.3%Language:Dockerfile 0.2%