PDA

View Full Version : result.pointsize in vertexprogram



Chuck0
06-08-2004, 09:38 AM
Hi
i am presently working on a point rendering system and wrote a little testvertexprogram that should modify the pointsize of the drawn points... the problem i am having is, that no matter what i write into result.pointsize i cant change the size of the rastered points. so now i am wondering if i have to set some specific state in order to let the vertex program have an effect on the rastered pointsize.

ScottManDeath
06-08-2004, 10:18 AM
Yes, glEnable(GL_VERTEX_PROGRAM_POINT_SIZE_ARB);

Chuck0
06-08-2004, 11:36 AM
thanks very much (seems i missed this while browsing through the spec :( )