std.mtl

来自「此为作者自主研发的3D引擎swe的一个简单的演示程序」· MTL 代码 · 共 59 行

MTL
59
字号
<material param="std_test" >
    <technique>
        <pass>
            <texture_unit>
                <texture param="checker_with_numbers.JPG" />
            </texture_unit>
        </pass>
    </technique>
</material>

<material param="std_stone" >
    <technique>
        <pass>
            <texture_unit>
                <texture param="stone.JPG" />
            </texture_unit>
        </pass>
    </technique>
</material>

<material param="std_wood" >
    <technique>
        <pass>
            <texture_unit>
                <texture param="wood.JPG" />
            </texture_unit>
        </pass>
    </technique>
</material>

<material param="std_paper" >
    <technique>
        <pass>
            <texture_unit>
                <texture param="paper.JPG" />
            </texture_unit>
        </pass>
    </technique>
</material>

<material param="std_water" >
    <technique>
        <pass>
            <texture_unit>
                <anim_texture param="water/pht00.dds water/pht01.dds water/pht02.dds water/pht03.dds water/pht04.dds water/pht05.dds water/pht06.dds water/pht07.dds water/pht08.dds water/pht09.dds water/pht10.dds water/pht11.dds water/pht12.dds water/pht13.dds water/pht14.dds water/pht15.dds water/pht16.dds water/pht17.dds water/pht18.dds water/pht19.dds water/pht20.dds water/pht21.dds water/pht22.dds water/pht23.dds water/pht24.dds water/pht25.dds water/pht26.dds water/pht27.dds water/pht28.dds water/pht29.dds water/pht30.dds water/pht31.dds 1" />
                <scale param="1 1" />
                <scroll_anim param="-0.15 0.05" />
            </texture_unit>
            <texture_unit>
                <texture param="water/water.JPG" />
                <tex_address_mode param="clamp" />
                <colour_op_ex param="blend_manual src_texture src_current 0.5" />
                <env_map param="spherical" />
                <scale param="1 1" />
            </texture_unit>
        </pass>
    </technique>
</material>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?