Material Database

View Source

<?xml version="1.0" encoding="utf-8" ?>
<scenedata>
    <medium>
        <name>recycled glass medium</name>
        <precedence>10</precedence>
        <basic>
            <ior>1.6</ior>
            <cauchy_b_coeff>0</cauchy_b_coeff>
            <step_size>0.1</step_size>
            <absorption_coefficient>
                <constant>
                    <rgb>
                        <rgb>33.861175038 10.736470134000001 10.736470134000001</rgb>
                        <gamma>1</gamma>
                    </rgb>
                </constant>
            </absorption_coefficient>
        </basic>
    </medium>
    <material>
        <name>recycled glass</name>
        <specular>
            <internal_medium_name>recycled glass medium</internal_medium_name>
            <transparent>true</transparent>
            <bump>
                <shader>
                    <shader>
                        <![CDATA[def eval() real :
	fbm(posOS() * 600.0, 2) * 0.00002]]>
</shader>
                </shader>
            </bump>
            <layer>0</layer>
        </specular>
    </material>
</scenedata>

-->