glsl120.program

ogre_media/materials/glsl120/glsl120.program declares the GLSL vertex and fragment programs used to render submap slices, written for the GLSL 120 profile.

fragment_program cartographer_ros/glsl120/submap.frag glsl
{
  source submap.frag
}

vertex_program cartographer_ros/glsl120/submap.vert glsl
{
  source submap.vert
}

It registers two programs:

  • cartographer_ros/glsl120/submap.vert — the vertex program backed by submap.vert.

  • cartographer_ros/glsl120/submap.frag — the fragment program backed by submap.frag.

These are the programs referenced by the cartographer_ros/Submap material in ogre_media/materials/scripts/submap.material.