Change effect name inside the file
This commit is contained in:
parent
aa4a2db5e4
commit
0b0012d158
1 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!-- Reflections
|
<!-- Reflections + Bumpmapping + specular
|
||||||
|
|
||||||
PARAMETERS: There are two forms of cube map texture:- vertical cross and 6 images.
|
PARAMETERS: There are two forms of cube map texture:- vertical cross and 6 images.
|
||||||
Either can be used - alternative forms are shown in <parameters> and in <texture-unit>
|
Either can be used - alternative forms are shown in <parameters> and in <texture-unit>
|
||||||
|
@ -25,7 +25,7 @@ define <texture n="4"> in the derived effect file
|
||||||
USE: To use the default reflection effect (controlled by material shininess values) use
|
USE: To use the default reflection effect (controlled by material shininess values) use
|
||||||
|
|
||||||
<effect>
|
<effect>
|
||||||
<inherits-from>Effects/reflect</inherits-from>
|
<inherits-from>Effects/reflect-bump-spec</inherits-from>
|
||||||
<object-name>Fuselage</object-name>
|
<object-name>Fuselage</object-name>
|
||||||
</effect>
|
</effect>
|
||||||
|
|
||||||
|
@ -41,14 +41,14 @@ in your model file.
|
||||||
To use your own effect place your efffect file containing something like this:
|
To use your own effect place your efffect file containing something like this:
|
||||||
|
|
||||||
<name>Effects/lightningreflect</name>
|
<name>Effects/lightningreflect</name>
|
||||||
<inherits-from>Effects/reflect</inherits-from>
|
<inherits-from>Effects/reflect-bump-spec</inherits-from>
|
||||||
|
|
||||||
and the the modified tags in the path as above
|
and the the modified tags in the path as above
|
||||||
|
|
||||||
EXAMPLES: You can find examples of both usages in the Hunter and Lightning models.
|
EXAMPLES: You can find examples of both usages in the Hunter and Lightning models.
|
||||||
-->
|
-->
|
||||||
<PropertyList>
|
<PropertyList>
|
||||||
<name>Effects/reflect</name>
|
<name>Effects/reflect-bump-spec</name>
|
||||||
<inherits-from>Effects/model-default</inherits-from>
|
<inherits-from>Effects/model-default</inherits-from>
|
||||||
|
|
||||||
<parameters>
|
<parameters>
|
||||||
|
|
Loading…
Reference in a new issue