OpenSubdiv/examples/ptexViewer
Takahito Tejima f7f2ca2581 Move uniform block definitions out of osd common shader into client shader.
Important notice: all client shader code must have following functions and compose them to osd intrinsic shaders (vertex/tessEval/tessControl)

mat4 OsdModelViewMatrix()
mat4 OsdProjectionMatrix()
mat4 OsdModelViewProjectionMatrix()
float OsdTessLevel()
int OsdGreogryQuadOffsetBase()
int OsdPrimitiveIdBase()

We probably should write a utility class for basic binding of them, to make client code simpler.
2013-12-03 15:59:38 -08:00
..
CMakeLists.txt Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
imageshader.glsl Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
shader_gl3.glsl Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
shader.glsl Move uniform block definitions out of osd common shader into client shader. 2013-12-03 15:59:38 -08:00
skyshader.glsl Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
viewer.cpp Move uniform block definitions out of osd common shader into client shader. 2013-12-03 15:59:38 -08:00