Fix for issue 212 - cities disappear with certain quality levels.
Underlying cause was caching of textures in effects. Resolved by using consistent texture indexes across quality levels.
This commit is contained in:
parent
529e8cd802
commit
31dc0d7c60
1 changed files with 8 additions and 8 deletions
|
@ -1092,6 +1092,10 @@
|
||||||
</texture-unit>
|
</texture-unit>
|
||||||
<texture-unit>
|
<texture-unit>
|
||||||
<unit>2</unit>
|
<unit>2</unit>
|
||||||
|
<type>noise</type>
|
||||||
|
</texture-unit>
|
||||||
|
<texture-unit>
|
||||||
|
<unit>3</unit>
|
||||||
<image>
|
<image>
|
||||||
<use>texture[2]/image</use>
|
<use>texture[2]/image</use>
|
||||||
</image>
|
</image>
|
||||||
|
@ -1115,10 +1119,6 @@
|
||||||
<function-a>min</function-a>
|
<function-a>min</function-a>
|
||||||
</mipmap-control>
|
</mipmap-control>
|
||||||
</texture-unit>
|
</texture-unit>
|
||||||
<texture-unit>
|
|
||||||
<unit>3</unit>
|
|
||||||
<type>noise</type>
|
|
||||||
</texture-unit>
|
|
||||||
<program>
|
<program>
|
||||||
<!-- <vertex-shader n="0">Shaders/include_fog.vert</vertex-shader> -->
|
<!-- <vertex-shader n="0">Shaders/include_fog.vert</vertex-shader> -->
|
||||||
<vertex-shader n="1">Shaders/urban.vert</vertex-shader>
|
<vertex-shader n="1">Shaders/urban.vert</vertex-shader>
|
||||||
|
@ -1148,13 +1148,13 @@
|
||||||
<value type="int">1</value>
|
<value type="int">1</value>
|
||||||
</uniform>
|
</uniform>
|
||||||
<uniform>
|
<uniform>
|
||||||
<name>QDMTex</name>
|
<name>NoiseTex</name>
|
||||||
<type>sampler-2d</type>
|
<type>sampler-3d</type>
|
||||||
<value type="int">2</value>
|
<value type="int">2</value>
|
||||||
</uniform>
|
</uniform>
|
||||||
<uniform>
|
<uniform>
|
||||||
<name>NoiseTex</name>
|
<name>QDMTex</name>
|
||||||
<type>sampler-3d</type>
|
<type>sampler-2d</type>
|
||||||
<value type="int">3</value>
|
<value type="int">3</value>
|
||||||
</uniform>
|
</uniform>
|
||||||
<uniform>
|
<uniform>
|
||||||
|
|
Loading…
Add table
Reference in a new issue