1
0
Fork 0
fgdata/Effects/building.eff

118 lines
3.7 KiB
Text
Raw Normal View History

2012-04-28 21:51:05 +00:00
<?xml version="1.0" encoding="utf-8"?>
<PropertyList>
<name>Effects/building</name>
<inherits-from>Effects/model-combined-deferred</inherits-from>
<parameters>
<texture n="0">
<type>2d</type>
<image>Textures/buildings.png</image>
<filter>linear-mipmap-linear</filter>
<wrap-s>clamp</wrap-s>
<wrap-t>clamp</wrap-t>
<internal-format>normalized</internal-format>
</texture>
<!-- Normal Map -->
<normalmap-enabled type="int"> 0 </normalmap-enabled>
<normalmap-dds type="int"> 0 </normalmap-dds>
<normalmap-tiling type="float"> 1.0 </normalmap-tiling>
<!-- Light Map -->
<texture n="3">
<image>Textures/buildings-lightmap.png</image>
<filter>linear-mipmap-linear</filter>
<wrap-s>clamp</wrap-s>
<wrap-t>clamp</wrap-t>
<internal-format>normalized</internal-format>
</texture>
<lightmap-enabled type="int"> 1 </lightmap-enabled>
<lightmap-multi type="int"> 0 </lightmap-multi>
<lightmap-factor type="float" n="0">
<use>/sim/time/sun-angle-rad</use>
</lightmap-factor>
<lightmap-color type="vec3d" n="0"> 0.3 0.3 0.3 </lightmap-color>
<!--<lightmap-factor type="float" n="1">1.0</lightmap-factor>
<lightmap-color type="vec3d" n="1"> 1.0 1.0 1.0 </lightmap-color>
<lightmap-factor type="float" n="2">1.0</lightmap-factor>
<lightmap-color type="vec3d" n="2"> 1.0 1.0 1.0 </lightmap-color>
<lightmap-factor type="float" n="3">1.0</lightmap-factor>
<lightmap-color type="vec3d" n="3"> 1.0 1.0 1.0 </lightmap-color>-->
<!-- Reflection -->
<reflection-enabled type="int"> 1 </reflection-enabled>
<reflect-map-enabled type="int"> 1 </reflect-map-enabled>
<reflection-correction type="float"> 0.10 </reflection-correction>
<reflection-dynamic type="int"> 0 </reflection-dynamic>
<reflection-fresnel type="float"> 0.0 </reflection-fresnel>
<reflection-rainbow type="float"> 0.0 </reflection-rainbow>
<reflection-noise type="float"> 0.0 </reflection-noise>
<!--Ambient correction -->
<ambient-correction type="float"> 0.0 </ambient-correction>
<dirt-enabled type="int"> 0 </dirt-enabled>
<dirt-color type="vec3d"> 0.0 0.0 0.0 </dirt-color>
<dirt-factor type="float"> 0.0 </dirt-factor>
<material>
<active>true</active>
<color-mode-uniform>1</color-mode-uniform>
<ambient type="vec4d">0.6 0.6 0.6 1.0</ambient>
<diffuse type="vec4d">1.0 1.0 1.0 1.0</diffuse>
<specular type="vec4d">0.0 0.0 0.0 1.0</specular>
<emissive type="vec4d">0.02 0.02 0.02 1.0</emissive>
<shininess>0.0</shininess>
<color-mode>ambient-and-diffuse</color-mode>
<color-mode-uniform>ambient-and-diffuse</color-mode-uniform>
<!-- DIFFUSE -->
</material>
<material-id>0</material-id>
<blend>
<active>0</active>
<source>0</source>
<destination>0</destination>
</blend>
<shade-model>flat</shade-model>
<cull-face>back</cull-face>
<rendering-hint>opaque</rendering-hint>
</parameters>
<technique n="8">
<pass>
<texture-unit n="4">
<unit>4</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>
</pass>
2012-05-01 21:36:24 +00:00
</technique>
<technique n="9">
<pass>
<texture-unit n="4">
<unit>4</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>
</pass>
2012-05-01 21:36:24 +00:00
</technique>
</PropertyList>