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