OpenSubdiv/examples/dxPtexViewer
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 Add DX11 ptex viewer (unfinished) 2013-10-04 18:28:00 -07:00
dxPtexViewer.cpp Move uniform block definitions out of osd common shader into client shader. 2013-12-03 15:59:38 -08:00
shader.hlsl Move uniform block definitions out of osd common shader into client shader. 2013-12-03 15:59:38 -08:00