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
293 B
XML
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>
|