Hi, The Shader is executed as a "normal" osg shader program : by setting it on the node stateset.
The Cuda code is executed before any rendering (before the pViewer->frame() call) By diggging in the osgCuda code source, it seems like "cudaGraphicsMapResources" and "cudaGraphicsGLRegisterImage" functions are never called... ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=43432#43432 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org