

vertex_program sys_axes_vs20 hlsl
{
    entry_point axesVS
    target vs_2_0
    source ose.hlsl

    default_params
    {
        param_named gCameraDist float1 10 0 0 0
        param_named_auto gProj projection_matrix
        param_named_auto gView view_matrix
    }
}

fragment_program sys_axes_ps20 hlsl
{
    entry_point axesPS
    target ps_2_0
    source ose.hlsl

    default_params
    {
        param_named gDiffuse float4 1 1 1 1
    }
}

vertex_program sys_vsc hlsl
{
    entry_point defVS
    target vs_2_0
    source ose.hlsl

    default_params
    {
        param_named_auto gCameraPos camera_position
        param_named_auto gCameraPosObj camera_position_object_space
        param_named_auto gLightPos light_position 0
        param_named_auto gLightPosObj light_position_object_space 0
        param_named_auto gProj projection_matrix
        param_named_auto gTime time 1
        param_named_auto gView view_matrix
        param_named_auto gViewProj viewproj_matrix
        param_named_auto gWorld world_matrix
        param_named_auto gWorldView worldview_matrix
        param_named_auto gWorldViewProj worldviewproj_matrix
    }
}

fragment_program sys_psc hlsl
{
    entry_point defPS
    target ps_2_0
    source ose.hlsl

    default_params
    {
        param_named gSpecShine float1 20 0 0 0
        param_named_auto gAmbient ambient_light_colour
        param_named_auto gDiffuse light_diffuse_colour 0
        param_named_auto gSpecular light_specular_colour 0
    }
}