material = "LATTIA"
{
    function = "zbuf_phong_texture"
    texture_map_path = "mapit/chess.pcx"
    phong_map_path = "mapit/phong.pcx"
    face_side = "front"
    v_delta = 2
    u_delta = 2
    shades = 256
    ambient = 0.3
    diffuse = 0.2
    specular = 0.3
    exponent = 12.0
    dark_rgb   = " 0.0  0.0  0.0 "
    color_rgb  = " 0.5  0.5  0.5"
    bright_rgb = " 1.0  1.0  1.0 "
    dark_pos   = 0.0
    color_pos  = 0.4
    bright_pos = 1.0
    z_pos="normal"
}
material = "VESI"
{
    function = "zbuf_persp_transp_texture"
    face_side = "front"
    texture_map_path ="mapit/koira.pcx"
    z_pos="near"
    u_delta=-1
}

material = "TAIVAS2"
{
    function = "zbuf_persp_texture"
    function="none"
    face_side = "front"

    texture_map_path ="mapit/taivas.pcx"
    phong_map_path="molut/bump.pcx"
    shades  = 256
    dark_rgb   = " 0.0  0.0  0.0 "
    color_rgb  = " 0.8  0.1  0.1 "
    bright_rgb = " 1.0 0.9 0.8"
    v_delta=-0.2
    u_delta=0.3
    dark_pos   = 0
    color_pos  = 0.2
    bright_pos = 0.7

#    ambient = 0.2
#    diffuse  = 0.3
#    specular = 0.2
    exponent = 12
    transparency=0.25
    masking="on"
    zbuf_pos="far"
}
material = "TAIVAS"
{
    function = "zbuf_persp_transp_texture"
    function="none"
    face_side = "front"

    texture_map_path ="mapit/sininen.pcx"
    phong_map_path="molut/bump.pcx"
    shades  = 256
    dark_rgb   = " 0.0  0.0  0.0 "
    color_rgb  = " 0.8  0.1  0.1 "
    bright_rgb = " 1.0 0.9 0.8"
    v_delta=0.2
    u_delta=-0.3
    dark_pos   = 0
    color_pos  = 0.2
    bright_pos = 0.7

#    ambient = 0.2
#    diffuse  = 0.3
#    specular = 0.2
    exponent = 12
    transparency=0.25
    masking="on"
}
@end
