1
0
Fork 0

Use texture instead of texture0 in terrain shader

This is better property list style.
This commit is contained in:
timoore 2009-07-15 22:49:44 +00:00
parent d4d89d2793
commit 7a202515e8

View file

@ -18,9 +18,9 @@
</emissive>
<shininess>1.2</shininess>
</material>
<texture0>
<texture n="0">
<texture2d>
<image>Textures/unknown.png</image>
<image>Textures/Terrain/unknown.png</image>
<filter>linear-mipmap-linear</filter>
<!-- also repeat -->
<wrap-s>repeat</wrap-s>
@ -31,7 +31,7 @@
<!-- float, signed-integer, integer -->
<internal-format>normalized</internal-format>
</texture2d>
</texture0>
</texture>
<transparent>false</transparent>
<render-bin>
<bin-number>0</bin-number>
@ -63,13 +63,13 @@
</render-bin>
<texture-unit>
<unit>0</unit>
<texture2d><use>texture0/texture2d</use>
<image><use>texture0/texture2d/image</use></image>
<filter><use>texture0/texture2d/filter</use></filter>
<wrap-s><use>texture0/texture2d/wrap-s</use></wrap-s>
<wrap-t><use>texture0/texture2d/wrap-t</use></wrap-t>
<texture2d><use>texture[0]/texture2d</use>
<image><use>texture[0]/texture2d/image</use></image>
<filter><use>texture[0]/texture2d/filter</use></filter>
<wrap-s><use>texture[0]/texture2d/wrap-s</use></wrap-s>
<wrap-t><use>texture[0]/texture2d/wrap-t</use></wrap-t>
<internal-format>
<use>texture0/texture2d/internal-format</use>
<use>texture[0]/texture2d/internal-format</use>
</internal-format>
</texture2d>
</texture-unit>
@ -102,13 +102,13 @@
</render-bin>
<texture-unit>
<unit>0</unit>
<texture2d><use>texture0/texture2d</use>
<image><use>texture0/texture2d/image</use></image>
<filter><use>texture0/texture2d/filter</use></filter>
<wrap-s><use>texture0/texture2d/wrap-s</use></wrap-s>
<wrap-t><use>texture0/texture2d/wrap-t</use></wrap-t>
<texture2d><use>texture[0]/texture2d</use>
<image><use>texture[0]/texture2d/image</use></image>
<filter><use>texture[0]/texture2d/filter</use></filter>
<wrap-s><use>texture[0]/texture2d/wrap-s</use></wrap-s>
<wrap-t><use>texture[0]/texture2d/wrap-t</use></wrap-t>
<internal-format>
<use>texture0/texture2d/internal-format</use>
<use>texture[0]/texture2d/internal-format</use>
</internal-format>
</texture2d>
<environment>