Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Latest commit

 

History

History
38 lines (26 loc) · 2.01 KB

README.md

File metadata and controls

38 lines (26 loc) · 2.01 KB

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 - Alixinne [email protected]