17
edits
No edit summary |
Fusionstream (talk | contribs) (Update wiki content so it actually works. Based on: http://www.flightgear.org/forums/viewtopic.php?p=109113#p109113) |
||
Line 46: | Line 46: | ||
The next method describes how to add the effect of a customized simple ReflectionShader, which allows more freedom. | The next method describes how to add the effect of a customized simple ReflectionShader, which allows more freedom. | ||
You'll still need to use the code above in your file but this time, you'll use your own effect shader (below). The difference is you'll replace: | |||
<inherits-from>Aircraft/Generic/Effects/Fuselagereflect</inherits-from> | |||
with | |||
<inherits-from>Aircraft/YourAircraftName/Effects/foo_reflect</inherits-from> | |||
Now we'll create this foo_reflect file. | |||
Create a Folder inside your Models-folder called "Effects". | Create a Folder inside your Models-folder called "Effects". | ||
Now you create a new .eff | Now you create a new .eff file named: foo_reflect.eff and save it to the "Effects" folder: | ||
<nowiki><!--foo_reflect.eff--></nowiki> | <nowiki><!--foo_reflect.eff--></nowiki> |
edits