Hi Aitor,

Can you please tell me how you are doing it (saving it onto an image) when
ur using a simple color. It would be really helpful for mel.



Thanks,
Best regards

On Fri, Oct 8, 2010 at 10:39 AM, Aitor Ardanza <[email protected]> wrote:

> Hi Mahendra,
>
> I'm workin on osgmultiplerendertargets.cpp example to do something like
> you... see attached code. Do not forget to call command arguments --image.
>
> I have not succeeded with: gl_FragData[0] = texture2D( baseMap, Texcoord );
> but gl_FragData[1] = vec4(0,1,0,1); works, and I can save the image to a
> file. Why can't use with other texture information?
>
> Cheers,
> Aitor
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=32541#32541
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>


-- 
http://www.mahendragr.com
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to