Provide some reasonable default textures
Author: Tim Moore <timoore@redhat.com>
This commit is contained in:
parent
6445dc6cce
commit
1e5f8c2aee
2 changed files with 22 additions and 9 deletions
|
@ -2,6 +2,9 @@
|
||||||
<PropertyList>
|
<PropertyList>
|
||||||
<name>Effects/chrome</name>
|
<name>Effects/chrome</name>
|
||||||
<parameters>
|
<parameters>
|
||||||
|
<texture n ="0">
|
||||||
|
<type>transparent</type>
|
||||||
|
</texture>
|
||||||
<chrome-light><use>/rendering/scene/chrome-light</use></chrome-light>
|
<chrome-light><use>/rendering/scene/chrome-light</use></chrome-light>
|
||||||
</parameters>
|
</parameters>
|
||||||
<technique n="11">
|
<technique n="11">
|
||||||
|
@ -17,15 +20,16 @@
|
||||||
<rendering-hint><use>rendering-hint</use></rendering-hint>
|
<rendering-hint><use>rendering-hint</use></rendering-hint>
|
||||||
<texture-unit>
|
<texture-unit>
|
||||||
<unit>0</unit>
|
<unit>0</unit>
|
||||||
<image><use>texture[0]/image</use></image>
|
<type><use>texture[0]/type</use></type>
|
||||||
<filter><use>texture[0]/filter</use></filter>
|
<image><use>texture[0]/image</use></image>
|
||||||
<wrap-s><use>texture[0]/wrap-s</use></wrap-s>
|
<filter><use>texture[0]/filter</use></filter>
|
||||||
<wrap-t><use>texture[0]/wrap-t</use></wrap-t>
|
<wrap-s><use>texture[0]/wrap-s</use></wrap-s>
|
||||||
<!--
|
<wrap-t><use>texture[0]/wrap-t</use></wrap-t>
|
||||||
<internal-format>
|
<!--
|
||||||
<use>texture[0]/internal-format</use>
|
<internal-format>
|
||||||
</internal-format>
|
<use>texture[0]/internal-format</use>
|
||||||
-->
|
</internal-format>
|
||||||
|
-->
|
||||||
<texenv-combine>
|
<texenv-combine>
|
||||||
<combine-rgb>modulate</combine-rgb>
|
<combine-rgb>modulate</combine-rgb>
|
||||||
<source0-rgb>constant</source0-rgb>
|
<source0-rgb>constant</source0-rgb>
|
||||||
|
|
|
@ -1,6 +1,11 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<PropertyList>
|
<PropertyList>
|
||||||
<name>Effects/model-default</name>
|
<name>Effects/model-default</name>
|
||||||
|
<parameters>
|
||||||
|
<texture n ="0">
|
||||||
|
<type>white</type>
|
||||||
|
</texture>
|
||||||
|
</parameters>
|
||||||
<technique n="10">
|
<technique n="10">
|
||||||
<predicate>
|
<predicate>
|
||||||
<and>
|
<and>
|
||||||
|
@ -39,7 +44,11 @@
|
||||||
<cull-face><use>cull-face</use></cull-face>
|
<cull-face><use>cull-face</use></cull-face>
|
||||||
<rendering-hint><use>rendering-hint</use></rendering-hint>
|
<rendering-hint><use>rendering-hint</use></rendering-hint>
|
||||||
<texture-unit>
|
<texture-unit>
|
||||||
|
<!-- The texture unit is always active because the shaders expect
|
||||||
|
that. -->
|
||||||
<unit>0</unit>
|
<unit>0</unit>
|
||||||
|
<!-- If there is a texture, the type in the derived effect
|
||||||
|
will be "2d". -->
|
||||||
<type><use>texture[0]/type</use></type>
|
<type><use>texture[0]/type</use></type>
|
||||||
<image><use>texture[0]/image</use></image>
|
<image><use>texture[0]/image</use></image>
|
||||||
<filter><use>texture[0]/filter</use></filter>
|
<filter><use>texture[0]/filter</use></filter>
|
||||||
|
|
Loading…
Reference in a new issue