Hi, Simon

That dont make any difference. Why you want to do this? If you are going to 
calculate normals in shader for just rendering - it would not make any 
difference, because you not use values assigned in osg, just more overhead and 
slower render. If you want to get calculated normals back to cpu for whatever 
reason this would not help either because for updating normals you need to 
stream them out (using transform feedback or render to textures or pbo 
readback).

Cheers,
Sergey.

23.03.2011, 23:16, "Simon Kolciter" <[email protected]>:
> Jason Daly:
>
> What if I assign a normal array to the OSG Geometry (setNormalArray) and only 
> modify the values in geometry shader?
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=37851#37851
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to