#extension GL_ARB_draw_instanced : enable #extension GL_EXT_gpu_shader4 : enable attribute vec3 _inPos; attribute vec3 _inNor; void main () { vec3 p_1; p_1.xz = _inPos.xz; p_1.y = (_inPos.y + float(gl_VertexID)); p_1.y = (p_1.y + float(gl_InstanceIDARB)); p_1 = (p_1 + _inNor); vec4 tmpvar_2; tmpvar_2.w = 1.0; tmpvar_2.xyz = p_1; gl_Position = tmpvar_2; gl_PointSize = p_1.x; } // stats: 6 alu 0 tex 0 flow // inputs: 2 // #0: _inPos (high float) 3x1 [-1] // #1: _inNor (high float) 3x1 [-1]