This demo is the first one using a C++ class library, it shows parallax mapping and depth of field together.
The classes are very close to be GL3 (and ES2) compliant, this actually means that I don't use the fixed pipeline at all:
I handle matrices by myself and pass every information to shaders directly, with no use of OpenGL built-in state variables.
MrFixit model and maps are courtesy of John Siar.
http://encelo.netsons.org/programming/opengl
Link to this comment:
All Comments (0)