1
0
Fork 0
fgdata/Effects/chrome.eff
Clément de l'Hamaide f6f433529f Revert "UniformFactory: merge current uniform per <name> of effect"
Talking with Emilian about this commit, we came to the conclusion we don't want share uniform between .eff file
This reverts commit 91a6a27f32ee5f79e1d7e0d4570e879a902de58f.
2014-11-16 22:09:41 +01:00

67 lines
2.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<PropertyList>
<name>Effects/chrome</name>
<parameters>
<texture n ="0">
<type>transparent</type>
</texture>
<chrome-light><use>/rendering/scene/chrome-light</use></chrome-light>
</parameters>
<technique n="11">
<pass>
<lighting>false</lighting>
<blend>
<active><use>blend/active</use></active>
<source><use>blend/source</use></source>
<destination><use>blend/destination</use></destination>
</blend>
<shade-model><use>shade-model</use></shade-model>
<cull-face><use>cull-face</use></cull-face>
<rendering-hint><use>rendering-hint</use></rendering-hint>
<texture-unit>
<unit>0</unit>
<type><use>texture[0]/type</use></type>
<image><use>texture[0]/image</use></image>
<filter><use>texture[0]/filter</use></filter>
<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>
-->
<texenv-combine>
<combine-rgb>modulate</combine-rgb>
<source0-rgb>constant</source0-rgb>
<operand0-rgb>src-color</operand0-rgb>
<source1-rgb>texture1</source1-rgb>
<operand1-rgb>src-color</operand1-rgb>
<constant-color><use>chrome-light</use></constant-color>
</texenv-combine>
</texture-unit>
<texture-unit>
<unit>1</unit>
<image><use>chrome-texture</use></image>
<filter>linear-mipmap-linear</filter>
<wrap-s>repeat</wrap-s>
<wrap-t>repeat</wrap-t>
<texenv-combine>
<combine-rgb>interpolate</combine-rgb>
<source0-rgb>texture0</source0-rgb>
<operand0-rgb>src-color</operand0-rgb>
<source1-rgb>previous</source1-rgb>
<operand1-rgb>src-color</operand1-rgb>
<source2-rgb>texture0</source2-rgb>
<operand2-rgb>src-alpha</operand2-rgb>
<!-- Are these used for anything? -->
<combine-alpha>replace</combine-alpha>
<source0-alpha>texture1</source0-alpha>
<operand0-alpha>src-alpha</operand0-alpha>
</texenv-combine>
<texgen>
<mode>sphere-map</mode>
</texgen>
</texture-unit>
</pass>
</technique>
</PropertyList>