1
0
Fork 0
fgdata/Effects/material-diffuse.eff
Tim Moore 564c69e10a Issue 209: fix up inheritance of color mode uniform in material animation effect
The overriding of the color mode uniform in the default model effect
wasn't working. It's difficult to override the individual properties
of techniques, especially if their names aren't unique. So, I changed
the model-default effect to use a parameter for the color-mode
uniform; material-off.eff and material-diffuse.eff override that.
2010-12-20 09:39:06 +01:00

10 lines
293 B
XML

<?xml version="1.0" encoding="utf-8"?>
<PropertyList>
<name>Effects/material-diffuse</name>
<parameters>
<material>
<color-mode-uniform>1</color-mode-uniform> <!-- DIFFUSE -->
</material>
</parameters>
<inherits-from>Effects/model-default</inherits-from>
</PropertyList>