material GTP/Diffuse/ReduceCubeMap { technique { pass { vertex_program_ref GTP/Basic/MPos_NoTransform_VS { } fragment_program_ref GTP/Diffuse/ReduceCubeMap_PS { param_named nFace int 0 } texture_unit { } } } } material GTP/Diffuse/Poly2Point { technique { pass { IllumTechniques { RenderTechnique DistanceCubeMap { update_interval 1 update_all_face false distance_calc false face_angle_calc false resolution 128 } RenderTechnique ReducedColorCubeMap { update_interval 1 reduced_resolution 4 resolution 128 distance_calc false face_angle_calc false update_all_face false } } vertex_program_ref GTP/Basic/Shaded_VS { param_named_auto WorldViewProj worldviewproj_matrix param_named_auto WorldInv inverse_world_matrix param_named_auto World world_matrix } fragment_program_ref GTP/Diffuse/Poly2Point_PS { param_named lastCenter float3 0 0 0 } //Cube map for reflections and refractions texture_unit { } //Cube map of distances texture_unit { } } } } material GTP/Diffuse/Point2Point { technique { pass { IllumTechniques { RenderTechnique DistanceCubeMap { update_interval 1 update_all_face false distance_calc false face_angle_calc false resolution 128 } RenderTechnique ReducedColorCubeMap { update_interval 1 reduced_resolution 4 resolution 128 distance_calc false face_angle_calc false update_all_face false } } vertex_program_ref GTP/Basic/Shaded_VS { param_named_auto WorldViewProj worldviewproj_matrix param_named_auto WorldInv inverse_world_matrix param_named_auto World world_matrix } fragment_program_ref GTP/Diffuse/Point2Point_PS { param_named lastCenter float3 0 0 0 } //Cube map for reflections and refractions texture_unit { } //Cube map of distances texture_unit { } } } } material GTP/Diffuse/Disc2Point { technique { pass { IllumTechniques { RenderTechnique DistanceCubeMap { update_interval 1 update_all_face false distance_calc false face_angle_calc false resolution 128 } RenderTechnique ReducedColorCubeMap { update_interval 1 reduced_resolution 4 resolution 128 distance_calc false face_angle_calc false update_all_face false } } vertex_program_ref GTP/Basic/Shaded_VS { param_named_auto WorldViewProj worldviewproj_matrix param_named_auto WorldInv inverse_world_matrix param_named_auto World world_matrix } fragment_program_ref GTP/Diffuse/Disc2Point_PS { param_named_auto cameraPos camera_position param_named lastCenter float3 0 0 0 } //Cube map for reflections and refractions texture_unit { } //Cube map of distances texture_unit { } } } }