1
0
Fork 0

Tentative fixes for OSM structure lightmaps

This commit is contained in:
Thorsten Renk 2017-05-11 13:52:27 +03:00
parent 385ab0d61a
commit 400e628417
3 changed files with 2 additions and 26 deletions

View file

@ -11,7 +11,7 @@
<wrap-s>repeat</wrap-s>
<wrap-t>repeat</wrap-t>
</texture>
<lightmap-factor type="float" n="0"><use>/scenery/osm2city/lightmap-factor</use></lightmap-factor>
<lightmap-factor type="float" n="0"><use>/environment/lightmap-factor</use></lightmap-factor>
<lightmap-color type="vec3d" n="0"> 1. 0.88 0.6 </lightmap-color>
<lightmap-factor type="float" n="1"><use>/scenery/osm2city/lightmap-factor</use></lightmap-factor>
<!--

View file

@ -16,6 +16,7 @@
</texture>
<grain-texture-enabled type="int">0</grain-texture-enabled>
<grain-magnification type="float">50</grain-magnification>
<lightmap-enabled type="int">1</lightmap-enabled>
<lightmap-color type="vec3d" n="0"> 0.8 0.8 1.0 </lightmap-color>
<snow_level><use>/environment/snow-level-m</use></snow_level>
<snow_thickness_factor><use>/environment/surface/snow-thickness-factor</use></snow_thickness_factor>

View file

@ -1,25 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<PropertyList>
<name>Effects/roadsLM</name>
<inherits-from>/Effects/model-combined-deferred</inherits-from>
<parameters>
<!-- Light Map -->
<lightmap-enabled type="int">1</lightmap-enabled>
<lightmap-multi type="int">0</lightmap-multi>
<lightmap-color type="vec3d" n="0"> 0.941 0.682 0.086 </lightmap-color>
<texture n="3">
<image>tex/roads_LM.png</image>
<wrap-s>repeat</wrap-s>
<wrap-t>repeat</wrap-t>
</texture>
<!--
240 174 22
<lightmap-factor type="float" n="1">0</lightmap-factor>
<lightmap-color type="vec3d" n="1"> 0 0 0.5 </lightmap-color>
<lightmap-factor type="float" n="2">0</lightmap-factor>
<lightmap-color type="vec3d" n="2"> 0 0 0.5 </lightmap-color>
<lightmap-factor type="float" n="3">1</lightmap-factor>
<lightmap-color type="vec3d" n="3"> 1 1 1 </lightmap-color>
-->
</parameters>
</PropertyList>