LibSR:Proof of concept

From Maths
Revision as of 16:03, 11 May 2016 by Alec (Talk | contribs) (Created page with "There's an old proof-of-concept implementation written in C++, it supports depth tests, vertex and fragment shaders, and there's limited work on texture objects, oh and render...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

There's an old proof-of-concept implementation written in C++, it supports depth tests, vertex and fragment shaders, and there's limited work on texture objects, oh and renderbuffers, so it is double-buffered. I often show the following screenshots:

LibSR POC 1.png
Example showing a Fragment shader which renders a red border around quad

patches where the light is below a certain intensity.

LibSR POC 2.png
The corresponding Vertex shader showing how Uniform variables and

Varying variables are bound to shaders.