shared_params CounterBuffer { shared_param_named ac uint 0 } fragment_program Ogre/RasterizationOrderFp glsl { source RasterizationOrderFp.glsl syntax glsl400 default_params { shared_params_ref CounterBuffer } } material Example/RasterizationOrder { technique { pass { vertex_program_ref Ogre/BasicVertexPrograms/AmbientOneTextureUnified {} fragment_program_ref Ogre/RasterizationOrderFp {} } } }