<?xml version="1.0" encoding="utf-8"?>
<PropertyList>
	<name>fuselage</name>
	<inherits-from>Effects/model-combined</inherits-from>
	<parameters>
		<normalmap-enabled type="int"> 1 </normalmap-enabled>
		<normalmap-dds type="int"> 0 </normalmap-dds>
		<normalmap-tiling type="float"> 1.0 </normalmap-tiling>
		<!--	normals.png: created from src/normalmap.svg using GIMP Generic -> Normal Map -> Invert Y, Scale 5	-->
		<texture n="2">
			<image>Aircraft/BN-2/Models/Effects/exterior/normals.png</image>
			<filter>linear-mipmap-linear</filter>
			<wrap-s>repeat</wrap-s>
			<wrap-t>repeat</wrap-t>
			<internal-format>normalized</internal-format>
		</texture>
		<rain-enabled type="int">2</rain-enabled>
		<reflect-map-enabled type="int">0</reflect-map-enabled>
		<reflection-enabled type="int">1</reflection-enabled>
		<reflection-correction type="float">-0.5</reflection-correction>
		<reflection-fresnel type="float">0.7</reflection-fresnel>
		<reflection-fresnel-factor type="float">0.7</reflection-fresnel-factor>
		<reflection-rainbow type="float">0.0</reflection-rainbow>
		<reflection-noise type="float">0.0</reflection-noise>
		<reflection-dynamic type="int">1</reflection-dynamic>
		<ambient-correction type="float">0.1</ambient-correction>
		<texture n="5">
			<type>cubemap</type>
			<images>
				<positive-x>Aircraft/Generic/Effects/CubeMaps/buildings/N.png</positive-x>
				<negative-x>Aircraft/Generic/Effects/CubeMaps/buildings/S.png</negative-x>
				<positive-y>Aircraft/Generic/Effects/CubeMaps/buildings/W.png</positive-y>
				<negative-y>Aircraft/Generic/Effects/CubeMaps/buildings/E.png</negative-y>
				<positive-z>Aircraft/Generic/Effects/CubeMaps/buildings/U.png</positive-z>
				<negative-z>Aircraft/Generic/Effects/CubeMaps/buildings/D.png</negative-z>
			</images>
		</texture>
		
		<lightmap-enabled type="int">1</lightmap-enabled>
		<lightmap-multi type="int">1</lightmap-multi>     
		<lightmap-factor type="float" n="0"><use>/systems/electrical/outputs/acl-beacon-norm</use></lightmap-factor>
		<lightmap-color type="vec3d" n="0"> 1.0 0.1 0.1 </lightmap-color>
		<lightmap-factor type="float" n="1"><use>/systems/electrical/outputs/acl-beacon-norm</use></lightmap-factor>
		<lightmap-color type="vec3d" n="1"> 1.0 1.0 1.0 </lightmap-color>
		<lightmap-factor type="float" n="2">0.0</lightmap-factor>
		<lightmap-color type="vec3d" n="2"> 1.0 1.0 1.0 </lightmap-color>
		<lightmap-factor type="float" n="3">0.0</lightmap-factor>
		<lightmap-color type="vec3d" n="3"> 1.0 1.0 1.0 </lightmap-color>
		<texture n="3">
			<image>Aircraft/BN-2/Models/Effects/exterior/lightmap.png</image>
			<type>2d</type>
			<filter>linear-mipmap-linear</filter>
			<wrap-s>clamp</wrap-s>
			<wrap-t>clamp</wrap-t>
			<internal-format>normalized</internal-format>
		</texture>
		
		<!-- "dirt": Icing -->
		<dirt-enabled type="int">1</dirt-enabled>
		<dirt-multi type="int">1</dirt-multi>
		<dirt-color type="vec3d" n="0">0.85 1.0 1.0</dirt-color>
		<dirt-factor type="float" n="0"><use>/fdm/jsbsim/ice/wing</use></dirt-factor>
		<dirt-color type="vec3d" n="1">0.85 1.0 1.0</dirt-color>
		<dirt-factor type="float" n="1"><use>/fdm/jsbsim/ice/stabilizer</use></dirt-factor>
		<dirt-color type="vec3d" n="2">0.85 1.0 1.0</dirt-color>
		<dirt-factor type="float" n="2"><use>/fdm/jsbsim/ice/fuselage</use></dirt-factor>
		<dirt-modulates-reflection type="int">1</dirt-modulates-reflection>
		<dirt-reflection-factor type="double">0.01</dirt-reflection-factor>
		<texture n="4">
			<image>Aircraft/BN-2/Models/Effects/exterior/greymap.png</image>
			<filter>linear-mipmap-linear</filter>
			<wrap-s>clamp</wrap-s>
			<wrap-t>clamp</wrap-t>
			<internal-format>normalized</internal-format>
		</texture>
	</parameters>
	<!--WARNING: Do not edit below this line -->
	<!-- ####################
	### NORMALMAP INCLUDE ###
	######################### -->
	<generate>
		<tangent type="int">6</tangent>
		<binormal type="int">7</binormal>
	</generate>
	
	<technique n="4">
		<pass>
			<program>
				<attribute>
					<name>tangent</name>
					<index>6</index>
				</attribute>
				<attribute>
					<name>binormal</name>
					<index>7</index>
				</attribute>
			</program>
		</pass>
	</technique>
	
	<technique n="7">
		<pass>
			<program>
				<attribute>
					<name>tangent</name>
					<index>6</index>
				</attribute>
				<attribute>
					<name>binormal</name>
					<index>7</index>
				</attribute>
			</program>
		</pass>
	</technique>
	
	<technique n="9">
		<pass>
			<program>
				<attribute>
					<name>tangent</name>
					<index>6</index>
				</attribute>
				<attribute>
					<name>binormal</name>
					<index>7</index>
				</attribute>
			</program>
		</pass>
	</technique>
	<!-- ########################
	### END NORMALMAP INCLUDE ###
	############################# -->
</PropertyList>

