Custom shaders
graphicsmonkey <[email protected]> Mon, 15 Apr 2019 17:11:52 -0700 (MST)
| Newsgroups | gmane.comp.lib.vtk.user |
|---|---|
| Message-ID | <[email protected]> |
Hi VTK experts,
Trying to get my head around converting some old OpenGL shaders to work with
VTK and i'm confused as to where certain values come from in some of the
examples ( E.g. Rendering/OpenGL2/Testing/Cxx/TestUserShader.cxx )
The test shader makes use of variables like normalMC, normatMatrix Etc. but
i cannot see where they are defined? If there a list of these variables
somewhere.
For example;
attribute vec3 normalMC
uniform mat3 normalMatrix
varying vec3 normalVCVSOutput
Many thanks!
--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Search the list archives at: http://markmail.org/search/?q=vtkusers
Follow this link to subscribe/unsubscribe:
https://vtk.org/mailman/listinfo/vtkusers