Effect framework: Difference between revisions

Line 174: Line 174:
====texture-unit====
====texture-unit====
Example:
Example:
<syntaxhighlight lang="xml">
                <texture-unit>
                        <unit>3</unit>
<image>Textures/Terrain/void.png</image>
<type>2d</type>
<filter>linear-mipmap-linear</filter>
                        <mag-filter>linear-mipmap-linear</mag-filter>
<wrap-s>repeat</wrap-s>
<wrap-t>repeat</wrap-t>
                        <wrap-r>repeat</wrap-r>
<internal-format>normalized</internal-format>
                        <mipmap-control>
                            <function-r>average</function-r>
    <function-g>min</function-g>
                            <function-b>sum</function-b>
    <function-a>product</function-a>
                        </mitmap-control>
</texture-unit>
</syntaxhighlight>


====vertex-program-two-side====
====vertex-program-two-side====
574

edits