Home > Materials > Ceramic > Weathering steel (COR-TEN steel) > View Source

View Source

<?xml version="1.0" encoding="utf-8" ?>
<scenedata>
    <material>
        <name>AcierCorten</name>
        <phong>
            <texture>
                <path>PACKED_0_PACKED_1_Ambar_B.png</path>
                <exponent>2.2</exponent>
                <uv_set>uv</uv_set>
            </texture>
            <texture>
                <path>PACKED_1_blennd.jpg</path>
                <exponent>2.2</exponent>
                <uv_set>uv</uv_set>
            </texture>
            <texture>
                <path>PACKED_2_swwwwwww.jpg</path>
                <exponent>2.2</exponent>
                <uv_set>uv</uv_set>
            </texture>
            <texture>
                <uv_set>uv</uv_set>
                <path>PACKED_2_swwwwwww.jpg</path>
                <a>0</a>
                <b>0.001</b>
                <c>0</c>
                <exponent>1</exponent>
            </texture>
            <diffuse_albedo>
                <shader>
                    <shader>
                        <![CDATA[def blend(vec3 tex1, vec3 tex2, real blendamt) vec3: add(mul(tex1,blendamt),mul(tex2,sub(1.0,blendamt)))

def eval(vec3 pos) vec3 : blend(sample2DTextureVec3(1,getTexCoords(0)),
                                               sample2DTextureVec3(0,getTexCoords(0)),
                                               doti(sample2DTextureVec3(2,getTexCoords(0))))]]>
</shader>
                </shader>
            </diffuse_albedo>
            <ior>1.05</ior>
            <exponent>
                <constant>1000.0</constant>
            </exponent>
            <bump>
                <texture>
                    <texture_index>3</texture_index>
                </texture>
            </bump>
        </phong>
    </material>
</scenedata>