# Define the signature with which diffuse, normal & distance map filenames standardly end.
diffuse_map_postfix: 
normal_map_postfix: "_nmap"
distance_map_postfix: 

base_image_folder: Images
base_shader_folder: Shaders

define_shader
{
    name: "NormMap-Fresnel"
    shader_source: "NormalMap_Fresnel.shader"
}

define_shader
{
    name: "NormMap-BRDF"
    shader_source: "NormalMap_BRDF.shader"
}

define_shader
{
    name: "DistMap-Fresnel"
    shader_source: "DistanceMap_Fresnel.shader"
}

define_shader
{
    name: "DistMap-BRDF"
    shader_source: "DistanceMap_BRDF.shader"
}

define_material
{
    name: "Skybox_Left"
    clamped
    diffuse_map: "skybox_left.tga"
}

define_material
{
    name: "Skybox_Back"
    clamped
    diffuse_map: "skybox_back.tga"
}

define_material
{
    name: "Skybox_Right"
    clamped
    diffuse_map: "skybox_right.tga"
}

define_material
{
    name: "Skybox_Front"
    clamped
    diffuse_map: "skybox_front.tga"
}

define_material
{
    name: "Skybox_Top"
    clamped
    diffuse_map: "skybox_up.tga"
}

define_material
{
    name: "Skybox_Bottom"
    clamped
    diffuse_map: "skybox_down.tga"
}

define_material
{
    name: "Chessboard"
    diffuse_map: "chessboard_marble.tga"
    matching_normal_map
    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.588
    specular_factor: 0.6
    opaque_factor: 1.0
    gloss_factor: 8.0
    bump_ratio: 0.07
    roughness: 0.0
}

define_material
{
    name: "White_Marble"
    diffuse_map: "tex_marble18.tga"
    matching_normal_map
    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.588
    specular_factor: 0.6
    opaque_factor: 1.0
    gloss_factor: 10.0
    bump_ratio: 0.001
    roughness: 0.0
}

define_material
{
    name: "ObjBin"
    diffuse_map: "obj_bin.tga"
    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.4
    specular_factor: 0.6
    opaque_factor: 1.0
    gloss_factor: 0.1
    bump_ratio: 0.01
    roughness: 0.4
}

define_material
{
    name: "ObjDoorStairs"
    diffuse_map: "obj_doorstairs.tga"
#    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.3
    specular_factor: 0.6
    opaque_factor: 1.0
    gloss_factor: 1.0
    bump_ratio: 0.001
    roughness: 0.0
}

define_material
{
    name: "ObjFountain"
    diffuse_map: "obj_fountain.tga"
#    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.3
    specular_factor: 0.6
    opaque_factor: 1.0
    gloss_factor: 1.0
    bump_ratio: 0.001
    roughness: 0.0
}

define_material
{
    name: "ObjHand"
    diffuse_map: "obj_hand.tga"
    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.3
    specular_factor: 0.6
    opaque_factor: 1.0
    gloss_factor: 1.0
    bump_ratio: 0.001
    roughness: 0.0
}

define_material
{
    name: "ObjLamp"
    diffuse_map: "obj_lamp.tga"
    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.3
    specular_factor: 0.6
    opaque_factor: 1.0
    gloss_factor: 1.0
    bump_ratio: 0.001
    roughness: 0.2
}

define_material
{
    name: "ObjLight"
    diffuse_map: "obj_light.tga"
    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.9
    specular_factor: 1.0
    opaque_factor: 0.3
    gloss_factor: 30.0
    bump_ratio: 0.001
    roughness: 0.0
}

define_material
{
    name: "ObjNewstand"
    diffuse_map: "obj_newstand.tga"
    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.3
    specular_factor: 0.4
    opaque_factor: 1.0
    gloss_factor: 5.0
    bump_ratio: 0.001
    roughness: 0.2
}

define_material
{
    name: "ObjObelisk"
    diffuse_map: "obj_obelisk.tga"
    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.3
    specular_factor: 0.6
    opaque_factor: 1.0
    gloss_factor: 1.0
    bump_ratio: 0.001
    roughness: 0.0
}

define_material
{
    name: "ObjSign"
    diffuse_map: "obj_sign.tga"
#    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.3
    specular_factor: 0.6
    opaque_factor: 1.0
    gloss_factor: 4.0
    bump_ratio: 0.001
    roughness: 0.0
}

define_material
{
    name: "ObjTableAndChair"
    diffuse_map: "obj_tableandchair.tga"
#    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.3
    specular_factor: 0.6
    opaque_factor: 1.0
    gloss_factor: 1.0
    bump_ratio: 0.001
    roughness: 0.0
}

define_material
{
    name: "ObjTapestry"
    diffuse_map: "obj_tapestry.tga"
#    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.3
    specular_factor: 0.6
    opaque_factor: 1.0
    gloss_factor: 1.0
    bump_ratio: 0.001
    roughness: 0.0
}

define_material
{
    name: "Road02"
    diffuse_map: "road02.tga"
    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.2
    specular_factor: 0.3
    opaque_factor: 1.0
    gloss_factor: 0.1
    bump_ratio: 0.0001
    roughness: 0.0
}

define_material
{
    name: "Apartment"
    diffuse_map: "wo_apartment.tga"
    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.8
    specular_factor: 0.6
    opaque_factor: 1.0
    gloss_factor: 0.2
    bump_ratio: 0.001
    roughness: 0.0
}

define_material
{
    name: "ApartmentB"
    diffuse_map: "wo_apartmentb.tga"
    matching_normal_map
#    matching_distance_map
   # shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.588
    specular_factor: 0.6
    opaque_factor: 1.0
    gloss_factor: 0.5
    bump_ratio: 0.001
    roughness: 0.0
}

define_material
{
    name: "Cinema"
    diffuse_map: "wo_cinema.tga"
    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.588
    specular_factor: 0.6
    opaque_factor: 1.0
    gloss_factor: 1.0
    bump_ratio: 0.001
    roughness: 0.0
}

define_material
{
    name: "Commercial"
    diffuse_map: "wo_commercial.tga"
    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.588
    specular_factor: 0.6
    opaque_factor: 1.0
    gloss_factor: 1.0
    bump_ratio: 0.001
    roughness: 0.0
}

define_material
{
    name: "Exhibit"
    diffuse_map: "wo_exhibit.tga"
    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.588
    specular_factor: 0.6
    opaque_factor: 1.0
    gloss_factor: 1.0
    bump_ratio: 0.001
    roughness: 0.0
}

define_material
{
    name: "Fresco"
    diffuse_map: "wo_fresco.tga"
    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.588
    specular_factor: 0.6
    opaque_factor: 1.0
    gloss_factor: 1.0
    bump_ratio: 0.001
    roughness: 0.0
}

define_material
{
    name: "Inset"
    diffuse_map: "wo_inset.tga"
    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.588
    specular_factor: 0.4
    opaque_factor: 1.0
    gloss_factor: 1.0
    bump_ratio: 0.05
    roughness: 0.0
}

define_material
{
    name: "Joint"
    diffuse_map: "wo_joint.tga"
    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.588
    specular_factor: 0.6
    opaque_factor: 1.0
    gloss_factor: 1.0
    bump_ratio: 0.06
    roughness: 0.0
}

define_material
{
    name: "Plaza"
    diffuse_map: "wo_plaza.tga"
    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.588
    specular_factor: 0.6
    opaque_factor: 1.0
    gloss_factor: 1.0
    bump_ratio: 0.02
    roughness: 0.0
}

define_material
{
    name: "Scraper1"
    diffuse_map: "wo_scraper1.tga"
    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.588
    specular_factor: 0.6
    opaque_factor: 1.0
    gloss_factor: 1.0
    bump_ratio: 0.02
    roughness: 0.0
}

define_material
{
    name: "Tubes"
    diffuse_map: "wo_tubes.tga"
#    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.588
    specular_factor: 0.6
    opaque_factor: 1.0
    gloss_factor: 40.0
    bump_ratio: 0.001
    roughness: 0.0
}

define_material
{
    name: "Venetian"
    diffuse_map: "wo_venetian.tga"
    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.588
    specular_factor: 0.6
    opaque_factor: 1.0
    gloss_factor: 1.0
    bump_ratio: 0.001
    roughness: 0.0
}

define_material
{
    name: "PhoneBooth"
    diffuse_map: "obj_phonebooth.tga"
    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.3
    specular_factor: 0.6
    opaque_factor: 1.0
    gloss_factor: 1.0
    bump_ratio: 0.000
    roughness: 0.0
}

define_material
{
    name: "WeenieVan"
    diffuse_map: "obj_weenievan.tga"
#    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.588
    specular_factor: 0.6
    opaque_factor: 1.0
    gloss_factor: 1.0
    bump_ratio: 0.001
    roughness: 0.0
}

define_material
{
    name: "Lampelement"
    diffuse_map: "obj_lampelement.tga"
    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 1.0
    specular_factor: 1.0
    opaque_factor: 1.0
    gloss_factor: 1.0
    bump_ratio: 0.001
    roughness: 0.0
}

define_material
{
    name: "Jointglass"
    diffuse_map: "wo_jointglass.tga"
    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.8
    specular_factor: 0.8
    opaque_factor: 1.0
    gloss_factor: 1.0
    bump_ratio: 0.001
    roughness: 0.0
}
define_material
{
    name: "Exhibitglass"
    diffuse_map: "wo_exhibitglass.tga"
    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.7
    specular_factor: 0.8
    opaque_factor: 1.0
    gloss_factor: 1.0
    bump_ratio: 0.001
    roughness: 0.0
}

define_material
{
    name: "Cinemadoor"
    diffuse_map: "wo_cinemadoor.tga"
    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.7
    specular_factor: 0.7
    opaque_factor: 1.0
    gloss_factor: 1.0
    bump_ratio: 0.001
    roughness: 0.0
}

define_material
{
    name: "Skyscraperglass"
    diffuse_map: "wo_skyscraperglass.tga"
    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.7
    specular_factor: 0.8
    opaque_factor: 1.0
    gloss_factor: 1.0
    bump_ratio: 0.001
    roughness: 0.0
}

define_material
{
    name: "Tubesglass"
    diffuse_map: "wo_tubesglass.tga"
    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.7
    specular_factor: 0.8
    opaque_factor: 0.5
    gloss_factor: 1.0
    bump_ratio: 0.001
    roughness: 0.0
}

define_material
{
    name: "Billboard"
    diffuse_map: "obj_billboard.tga"
    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.533
    specular_factor: 0.3
    opaque_factor: 1.0
    gloss_factor: 1.0
    bump_ratio: 0.001
    roughness: 0.0
}

define_material
{
    name: "Platform"
    diffuse_map: "obj_platform.tga"
    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.533
    specular_factor: 0.7
    opaque_factor: 1.0
    gloss_factor: 10.0
    bump_ratio: 0.001
    roughness: 0.0
}

define_material
{
    name: "Globe"
    diffuse_map: "obj_globe.tga"
    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.8
    specular_factor: 0.7
    opaque_factor: 1.0
    gloss_factor: 1.0
    bump_ratio: 0.01
    roughness: 0.0
}

define_material
{
    name: "Fence"
    diffuse_map: "obj_fence.tga"
    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.4
    specular_factor: 0.4
    opaque_factor: 1.0
    gloss_factor: 1.0
    bump_ratio: 0.01
    roughness: 0.0
}

define_material
{
    name: "Dumpster"
    diffuse_map: "obj_dumpster.tga"
    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.4
    specular_factor: 0.4
    opaque_factor: 1.0
    gloss_factor: 1.0
    bump_ratio: 0.01
    roughness: 0.0
}

define_material
{
    name: "Skull"
    diffuse_map: "obj_skull.tga"
   # matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.8
    specular_factor: 0.4
    opaque_factor: 1.0
    gloss_factor: 5.0
    bump_ratio: 0.01
    roughness: 0.0
}

define_material
{
    name: "Landfill"
    diffuse_map: "obj_landfill.tga"
    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.4
    specular_factor: 0.4
    opaque_factor: 1.0
    gloss_factor: 4.0
    bump_ratio: 0.01
    roughness: 0.0
}

define_material
{
    name: "Homebuilding"
    diffuse_map: "wo_homebuilding.tga"
    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.5
    specular_factor: 0.4
    opaque_factor: 1.0
    gloss_factor: 1.0
    bump_ratio: 0.01
    roughness: 0.0
}

define_material
{
    name: "Homebuildinggirder"
    diffuse_map: "wo_homebuildinggirder.tga"
    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.4
    specular_factor: 0.4
    opaque_factor: 1.0
    gloss_factor: 1.0
    bump_ratio: 0.01
    roughness: 0.0
}

define_material
{
    name: "Lowrider"
    diffuse_map: "obj_lowrider.tga"
    matching_normal_map
#    matching_distance_map
    shader: "NormMap-Fresnel"
    
    diffuse_factor: 0.4
    specular_factor: 0.7
    opaque_factor: 1.0
    gloss_factor: 1.0
    bump_ratio: 0.01
    roughness: 0.0
}



skin
{
     name: "StreetSkin"
     map_material: "obj_bin" to "ObjBin"
     map_material: "obj_doorstairs" to "ObjDoorStairs"
     map_material: "obj_fountain" to "ObjFountain"
     map_material: "obj_hand" to "ObjHand"
     map_material: "obj_lamp" to "ObjLamp"
     map_material: "obj_light" to "ObjLight"
     map_material: "obj_newstand" to "ObjNewstand"
     map_material: "obj_obelisk" to "ObjObelisk"
     map_material: "obj_phonebooth" to "PhoneBooth"
     map_material: "obj_sign" to "ObjSign"
     map_material: "obj_tableandchair" to "ObjTableAndChair"
     map_material: "obj_tapestry" to "ObjTapestry"
     map_material: "obj_weenievan" to "WeenieVan"
     map_material: "road02" to "Road02"
     map_material: "wo_apartment" to "Apartment"
     map_material: "wo_apartmentb" to "ApartmentB"
     map_material: "wo_cinema" to "Cinema"
     map_material: "wo_commercial" to "Commercial"
     map_material: "wo_exhibit" to "Exhibit"
     map_material: "wo_fresco" to "Fresco"
     map_material: "wo_inset" to "Inset"
     map_material: "wo_joint" to "Joint"
     map_material: "wo_plaza" to "Plaza"
     map_material: "wo_scraper1" to "Scraper1"
     map_material: "wo_tubes" to "Tubes"
     map_material: "wo_venetian" to "Venetian"
     map_material: "obj_lampelement" to "Lampelement"
     map_material: "wo_jointglass" to "Jointglass"
     map_material: "wo_exhibitglass" to "Exhibitglass"
     map_material: "wo_cinemadoor" to "Cinemadoor"
     map_material: "wo_skyscraperglass" to "Skyscraperglass"
     map_material: "wo_tubesglass" to "Tubesglass"
     map_material: "obj_billboard" to "Billboard"
     map_material: "obj_platform" to "Platform"
     map_material: "obj_globe" to "Globe"
     map_material: "obj_fence" to "Fence"
     map_material: "obj_dumpster" to "Dumpster"
     map_material: "obj_skull" to "Skull"
     map_material: "obj_landfill" to "Landfill"
     map_material: "wo_homebuilding" to "Homebuilding"
     map_material: "wo_homebuildinggirder" to "Homebuildinggirder"
     map_material: "skybox_back" to "Skybox_Back"
     map_material: "skybox_front" to "Skybox_Front"
     map_material: "skybox_right" to "Skybox_Right"
     map_material: "skybox_left" to "Skybox_Left"
     map_material: "skybox_up" to "Skybox_Top"
     map_material: "skybox_down" to "Skybox_Bottom"
     map_material: "obj_lowrider" to "Lowrider"
}
