Material Database

View Source

<?xml version="1.0" encoding="utf-8" ?>
<scenedata>
    <medium>
        <name>IronMetal_medium</name>
        <precedence>2</precedence>
        <basic>
            <ior>1.4</ior>
            <cauchy_b_coeff>0</cauchy_b_coeff>
            <absorption_coefficient_spectrum>
                <uniform>
                    <value>0</value>
                </uniform>
            </absorption_coefficient_spectrum>
        </basic>
    </medium>
    <material>
        <name>Cast</name>
        <phong>
            <texture>
                <path>PACKED_0_CastIronAlbedo3.jpg</path>
                <a>0</a>
                <b>1</b>
                <c>0</c>
                <uv_set>default</uv_set>
                <exponent>2.2</exponent>
                <tex_coord_generation>
                    <uv>
                        <matrix>1 0 0 1</matrix>
                        <translation>0 0</translation>
                    </uv>
                </tex_coord_generation>
            </texture>
            <texture>
                <path>PACKED_1_CastIronBumps.jpg</path>
                <a>0</a>
                <b>0.002</b>
                <c>0</c>
                <uv_set>default</uv_set>
                <exponent>2.2</exponent>
                <tex_coord_generation>
                    <uv>
                        <matrix>1 0 0 1</matrix>
                        <translation>0 0</translation>
                    </uv>
                </tex_coord_generation>
            </texture>
            <diffuse_albedo>
                <texture>
                    <texture_index>0</texture_index>
                </texture>
            </diffuse_albedo>
            <exponent>
                <constant>5000</constant>
            </exponent>
            <bump>
                <texture>
                    <texture_index>1</texture_index>
                </texture>
            </bump>
            <layer>0</layer>
            <fresnel_scale>1</fresnel_scale>
            <ior>1.4</ior>
            <nk_data />
        </phong>
    </material>
    <material>
        <name>Iron</name>
        <phong>
            <texture>
                <path>PACKED_1_CastIronBumps.jpg</path>
                <a>0</a>
                <b>0.0001</b>
                <c>0</c>
                <uv_set>default</uv_set>
                <exponent>2.2</exponent>
                <tex_coord_generation>
                    <uv>
                        <matrix>1 0 0 1</matrix>
                        <translation>0 0</translation>
                    </uv>
                </tex_coord_generation>
            </texture>
            <specular_reflectivity>
                <constant>
                    <rgb>
                        <rgb>0.8281 0.8359 0.8711</rgb>
                        <gamma>2.2</gamma>
                    </rgb>
                </constant>
            </specular_reflectivity>
            <exponent>
                <constant>5000</constant>
            </exponent>
            <bump>
                <texture>
                    <texture_index>0</texture_index>
                </texture>
            </bump>
            <layer>0</layer>
            <fresnel_scale>1</fresnel_scale>
            <ior>1.4</ior>
            <nk_data />
        </phong>
    </material>
    <material>
        <name>IronRough</name>
        <diffuse>
            <albedo>
                <constant>
                    <rgb>
                        <rgb>0.5781 0.5898 0.6211</rgb>
                        <gamma>2.2</gamma>
                    </rgb>
                </constant>
            </albedo>
            <random_triangle_colours>false</random_triangle_colours>
            <layer>0</layer>
        </diffuse>
    </material>
    <material>
        <name>IronMetal</name>
        <blend>
            <a_name>Iron</a_name>
            <b_name>IronRough</b_name>
            <blend>
                <constant>0.5</constant>
            </blend>
            <step_blend>false</step_blend>
        </blend>
    </material>
    <material>
        <name>CastIron</name>
        <blend>
            <texture>
                <path>PACKED_2_CastIronSpec4.jpg</path>
                <a>0</a>
                <b>2</b>
                <c>0</c>
                <uv_set>default</uv_set>
                <exponent>2.2</exponent>
                <tex_coord_generation>
                    <uv>
                        <matrix>1 0 0 1</matrix>
                        <translation>0 0</translation>
                    </uv>
                </tex_coord_generation>
            </texture>
            <a_name>Cast</a_name>
            <b_name>IronMetal</b_name>
            <blend>
                <texture>
                    <texture_index>0</texture_index>
                </texture>
            </blend>
            <step_blend>false</step_blend>
        </blend>
    </material>
</scenedata>

-->