mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-12 23:20:10 +00:00
f7f2ca2581
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. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
delegate.cpp | ||
delegate.h | ||
effect.cpp | ||
effect.h | ||
effectRegistry.cpp | ||
effectRegistry.h | ||
shader_gl3.glsl | ||
shader.glsl | ||
shapes.h | ||
viewer.cpp |