Re: [osg-users] Using custom shaders with osgParticle

2012-01-09 Thread Sergey Polischuk
Hi, Frank With vertex arrays disabled your program ignored. You should use setDefaultAttributesUsingShaders, and set your program with override flag. If you use vertex shaders - set mode GL_VERTEX_PROGRAM_POINT_SIZE on, mode GL_POINT_SPRITE on, and in vertex shader write to gl_PointSize -

Re: [osg-users] Using custom shaders with osgParticle

2012-01-05 Thread Chris 'Xenon' Hanson
On 1/5/2012 5:55 PM, Frank Sullivan wrote: Can anyone think of what I might be doing wrong? My next step will be to try to accomplish this in isolation in a stand-alone program, but I just wanted to check and see if there are any ideas. gDebugger might help you halt at the draw command and