Hi,
Am 17.11.12 17:55, schrieb michael kapelko:
> Any idea what's wrong with my code, then?
you are adding the shader to the transform called box, but you are
writing the first child of the transform to a file.
cheers,
Stephan
___
osg-users mailing li
Any idea what's wrong with my code, then?
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
I did this:
osgconv glsl_confetti.osgt out.osg
then looked at out.osg in an editor and it definitely contains shaders.
-Paul
On 11/16/2012 9:36 PM, michael kapelko wrote:
Hi.
I've attached custom shader for a node in a ShadowedScene. I then called
osgDB::writeNodeFile upon it and found out
Hi.
I've attached custom shader for a node in a ShadowedScene. I then called
osgDB::writeNodeFile upon it and found out that it doesn't save those
shaders into osg file.
Is it so by design or am I doing it wrong?
PS:
Source code: http://pastie.org/5390724
Source code archive:
https://dl.dropbox.co
4 matches
Mail list logo