shader_set terrain_vertex
{
    source terrain.shader
    type vertex
    profiles_cg vs_2_0 vp40 arbvp1
    profiles_hlsl vs_3_0 vs_2_0
}

shader_set terrain_fragment
{
    source terrain.shader
    type fragment
    profiles_cg ps_3_0 ps_2_x ps_2_0 fp40 arbfp1
    profiles_hlsl ps_3_0 ps_2_0
}