Difference between revisions of "LibSR:Proof of concept"

From Maths
Jump to: navigation, search
(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...")
(No difference)

Revision as of 16:03, 11 May 2016

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.