Quick Links
- Homepage
- Downloads
- Code Sample Pack
- Gallery
- Forum

Documentation
- Overview
- GLSL Programs
- Live Coding
- Hack your first
  GLSL program

- Reference guide

Follow GLSL Hacker

GLSL Hacker @ Twitter

GLSL Hacker

GLSL Programs

GLSL Hacker supports all available GLSL shaders: Vertex (OpenGL 2), Pixel (or Fragment, OpenGL 2), Geometry (OpenGL 3.2), Tessellation Control (OpenGL 4), Tessellation Evaluation (OpenGL 4) and Compute (OpenGL 4.3).

A GPU program (GLSL program) is made up of one or several GLSL shaders. The most common GPU program includes a vertex and a pixel shaders.

GLSL Hacker offers several ways to create a GPU program. One way is to code the GLSL program directly in the XML file using the gpu_program node. Another solution is to load a GLSL program using the gh_gpu_program module (Lua or Python).

The code samples in the GLSL_Simple_OpenGL_21_32_42/ folder of the code samples pack show the use of the gpu_program XML node. The demo is available in three flavors: OpenGL 2.1, OpenGL 3.2 and OpenGL 4.2.

GLSL Hacker - Simple GLSL demo




(C)2012 Geeks3D