Hello,In fragment shader, I would like to chage the fragment colour according to the fragment's index. Here index means integer number pair(x,y), where 0<x<xRes, 0<y<yRes, provided that viewPort has xRes * yRes pixels.
Is there a way to achieve that? Thank you in advance! Shuiying _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org