x3d纹理过滤模式

时间:2016-10-06 09:27:09

标签: x3d x3dom

查看extension methodsImageTexture,我不清楚如何设置属性。
如何指定magnificationFilter& minificationFilter是线性的?

<transform scale="1.01 1.01 1.01">
    <shape>
        <sphere></sphere>
        <appearance>
            <ImageTexture url="texture.png"></ImageTexture>
        </appearance>
    </shape>
</transform>

1 个答案:

答案 0 :(得分:0)

<ImageTexture url="texture.png">
    <TextureProperties generateMipMaps='TRUE' minificationFilter='LINEAR' magnificationFilter='LINEAR'></TextureProperties>
</ImageTexture >