Transition to model-interior, add shadows in cockpit

This commit is contained in:
Jonathan Redpath 2018-10-24 14:45:20 +01:00
parent 91d85615cc
commit 50773f4ac4
10 changed files with 21 additions and 21 deletions

View file

@ -1,13 +1,25 @@
<PropertyList>
<name>panel</name>
<inherits-from>Effects/model-combined-deferred</inherits-from>
<inherits-from>Effects/model-interior</inherits-from>
<parameters>
<irradiance-map-type type="int">2</irradiance-map-type>
<irradiance-map-strength type="float">0.1</irradiance-map-strength>
<normalmap-enabled type="int">0</normalmap-enabled>
<reflection-enabled type="int">0</reflection-enabled>
<dirt-enabled type="int">0</dirt-enabled>
<ambient-correction type="float">0.0</ambient-correction>
<lightmap-enabled type="int">0</lightmap-enabled>
<texture n="4">
<type>cubemap</type>
<images>
<positive-x>Models/Effects/res/0004.png</positive-x>
<negative-x>Models/Effects/res/0002.png</negative-x>
<positive-y>Models/Effects/res/0001.png</positive-y>
<negative-y>Models/Effects/res/0003.png</negative-y>
<positive-z>Models/Effects/res/0006.png</positive-z>
<negative-z>Models/Effects/res/0005.png</negative-z>
</images>
</texture>
<!--
the cube center must be the same as the camera x,y,z in blend
-->
<opacity-cube-center type="vec3d" n="0"> 0.207344 0.0 0.797276</opacity-cube-center>
<opacity-cube-scale type="vec3d" n="0"> 0.672 0.672 0.672</opacity-cube-scale>
<opacity-cube-angle type="float">0.0</opacity-cube-angle>
</parameters>
</PropertyList>

View file

@ -1,11 +1,7 @@
<PropertyList>
<name>panel</name>
<inherits-from>Effects/model-combined-deferred</inherits-from>
<inherits-from>Effects/model-interior</inherits-from>
<parameters>
<normalmap-enabled type="int">0</normalmap-enabled>
<reflection-enabled type="int">0</reflection-enabled>
<dirt-enabled type="int">0</dirt-enabled>
<ambient-correction type="float">0.0</ambient-correction>
<lightmap-enabled type="int">1</lightmap-enabled>
<lightmap-factor type="float" n="0"><use>/controls/lighting/panel-light</use></lightmap-factor>
<lightmap-color type="vec3d" n="0">1.0 1.0 1.0</lightmap-color>

View file

@ -1,11 +1,7 @@
<PropertyList>
<name>panel</name>
<inherits-from>Effects/model-combined-deferred</inherits-from>
<inherits-from>Effects/model-interior</inherits-from>
<parameters>
<normalmap-enabled type="int">0</normalmap-enabled>
<reflection-enabled type="int">0</reflection-enabled>
<dirt-enabled type="int">0</dirt-enabled>
<ambient-correction type="float">0.0</ambient-correction>
<lightmap-enabled type="int">1</lightmap-enabled>
<lightmap-factor type="float" n="0"><use>/controls/lighting/reading-light</use>*0.5</lightmap-factor>
<lightmap-color type="vec3d" n="0">1.0 1.0 1.0</lightmap-color>

View file

@ -1,11 +1,7 @@
<PropertyList>
<name>panel</name>
<inherits-from>Effects/model-combined-deferred</inherits-from>
<inherits-from>Effects/model-interior</inherits-from>
<parameters>
<normalmap-enabled type="int">0</normalmap-enabled>
<reflection-enabled type="int">0</reflection-enabled>
<dirt-enabled type="int">0</dirt-enabled>
<ambient-correction type="float">0.0</ambient-correction>
<lightmap-enabled type="int">1</lightmap-enabled>
<lightmap-factor type="float" n="0"><use>/controls/lighting/reading-light</use></lightmap-factor>
<lightmap-color type="vec3d" n="0">1.0 1.0 1.0</lightmap-color>

BIN
Models/Effects/res/0001.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

BIN
Models/Effects/res/0002.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

BIN
Models/Effects/res/0003.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

BIN
Models/Effects/res/0004.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
Models/Effects/res/0005.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
Models/Effects/res/0006.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB