564c69e10a
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.
10 lines
285 B
XML
10 lines
285 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<PropertyList>
|
|
<name>Effects/material-off</name>
|
|
<parameters>
|
|
<material>
|
|
<color-mode-uniform>0</color-mode-uniform> <!-- OFF -->
|
|
</material>
|
|
</parameters>
|
|
<inherits-from>Effects/model-default</inherits-from>
|
|
</PropertyList>
|