<effect>
<inherits-from>Aircraft/IAR80/Models/Effects/paint</inherits-from>
<object-name>Fuselage</object-name>
</effect>
<?xml version='1.0' encoding='utf-8'?>
<PropertyList>
<name>Effects/paint</name>
<inherits-from>Effects/model-default</inherits-from>
<parameters>
<texture n="1">
<image>Aircraft/IAR80/Models/Effects/textures/iar80.png</image>
<wrap-s>repeat</wrap-s>
<wrap-t>repeat</wrap-t>
</texture>
<texture n="2">
<image>Aircraft/IAR80/Models/Effects/textures/iar80_bump.png</image>
<wrap-s>repeat</wrap-s>
<wrap-t>repeat</wrap-t>
</texture>
<texture n="3">
<image>Aircraft/IAR80/Models/Effects/textures/iar80_spec.png</image>
<wrap-s>repeat</wrap-s>
<wrap-t>repeat</wrap-t>
</texture>
</parameters>
<technique n="10">
<pass>
<texture-unit>
<unit>0</unit>
<image>
<use>texture[1]/image</use>
</image>
<filter>
<use>texture[1]/filter</use>
</filter>
<wrap-s>
<use>texture[1]/wrap-s</use>
</wrap-s>
<wrap-t>
<use>texture[1]/wrap-t</use>
</wrap-t>
<internal-format>
<use>texture[1]/internal-format</use>
</internal-format>
</texture-unit>
<texture-unit>
<unit>1</unit>
<image>
<use>texture[2]/image</use>
</image>
<filter>
<use>texture[2]/filter</use>
</filter>
<wrap-s>
<use>texture[2]/wrap-s</use>
</wrap-s>
<wrap-t>
<use>texture[2]/wrap-t</use>
</wrap-t>
<internal-format>
<use>texture[2]/internal-format</use>
</internal-format>
</texture-unit>
<texture-unit>
<unit>2</unit>
<image>
<use>texture[3]/image</use>
</image>
<filter>
<use>texture[3]/filter</use>
</filter>
<wrap-s>
<use>texture[3]/wrap-s</use>
</wrap-s>
<wrap-t>
<use>texture[3]/wrap-t</use>
</wrap-t>
<internal-format>
<use>texture[3]/internal-format</use>
</internal-format>
</texture-unit>
<program>
<vertex-shader n="0">Aircraft/IAR80/Models/Effects/Shaders/paint.vert</vertex-shader>
<fragment-shader n="0">Aircraft/IAR80/Models/Effects/Shaders/paint.frag</fragment-shader>
</program>
<uniform>
<name>tex_color</name>
<type>sampler-2d</type>
<value type="int">0</value>
</uniform>
<uniform>
<name>tex_normal</name>
<type>sampler-2d</type>
<value type="int">1</value>
</uniform>
<uniform>
<name>tex_specular</name>
<type>sampler-2d</type>
<value type="int">2</value>
</uniform>
</pass>
</technique>
</PropertyList>
i4dnf wrote:well, i cant' take the credit for the bump shader. i just tried with a shader from the dangerdeep project, and it worked. it appears to be gpl, but i'll have to ask them.
i4dnf wrote:i've got some good news... the shader code is gpl .
also.. some cockpit updates.. almost finished the left side
so a cold morning test flight.. reason for some more teaser pictures...
well after that last pic.. the gremlins quit (too early in the morning.. union trouble).. so the engine stalled => lawn dart...
i4dnf wrote:Also, a quick question, in yasim is there a way to input maximum deflection angles for control surfaces?
i4dnf wrote:i've got some good news... the shader code is gpl .
Users browsing this forum: No registered users and 11 guests