Skip to content

Latest commit

 

History

History
54 lines (30 loc) · 2.13 KB

README.md

File metadata and controls

54 lines (30 loc) · 2.13 KB

ShaderLabs

alt text

ShaderLabs provides a abstraction over a OpenGL aplication so you can focus on learn or prototype your OpenGL vertex, fragment, geometry or tessellation shaders.

It is a Qt4 Gui application, with beautiful and easy to use interface.

alt text

Installation

For now, you can download a .deb package on the release section of this repository or build the application from source.

For .deb package, on Ubuntu trusty (it's tested with Travis CI), run

$ sudo dpkg -i /path/to/file.deb

this will let some broken references, so run

$ sudo apt-get install -f

to fix the issues and install the dependencies.

Build from source

The project is intended to be multi platform, so it should be easy to build on Linux, macOS or Windows without problem. Let me know about any issue.

Requirements

First you need to get Qt4. The installation of Qt is beyond the porpose of this guide, please, follow the the installation guide of you plataform.

On Linux, it also needs libGLU, so install (libglu1-mesa).

In case you have Qt4 and Qt5 installed (e.g. when installed through meta package qt-sdk) it also good to specify which version qmake will use:

$ export QT_SELECT=qt4

Build

  1. Get the source $ git clone https://github.com/ethiago/shader-labs.git ShaderLabs
  2. Navigate to source path $ cd ShaderLabs
  3. Run the build script $ ./build.sh.

The binary will be located in ./build/app/bin

Usage

This video has some basic usage of ShaderLabs and it a great starting point.

IMAGE ALT TEXT HERE

If you want to learn more about shaders, this tutorial could help.