Chrome effects file
Author: Tim Moore <timoore@redhat.com>
This commit is contained in:
parent
0ade02d9be
commit
a2481d8e60
1 changed files with 63 additions and 0 deletions
63
Effects/chrome.eff
Normal file
63
Effects/chrome.eff
Normal file
|
@ -0,0 +1,63 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PropertyList>
|
||||
<name>Effects/chrome</name>
|
||||
<parameters>
|
||||
<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>
|
||||
<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>
|
Loading…
Reference in a new issue