1
0
Fork 0

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:
Stuart Buchanan 2013-12-30 22:08:27 +00:00
parent 529e8cd802
commit 31dc0d7c60

View file

@ -1092,6 +1092,10 @@
</texture-unit>
<texture-unit>
<unit>2</unit>
<type>noise</type>
</texture-unit>
<texture-unit>
<unit>3</unit>
<image>
<use>texture[2]/image</use>
</image>
@ -1115,10 +1119,6 @@
<function-a>min</function-a>
</mipmap-control>
</texture-unit>
<texture-unit>
<unit>3</unit>
<type>noise</type>
</texture-unit>
<program>
<!-- <vertex-shader n="0">Shaders/include_fog.vert</vertex-shader> -->
<vertex-shader n="1">Shaders/urban.vert</vertex-shader>
@ -1148,13 +1148,13 @@
<value type="int">1</value>
</uniform>
<uniform>
<name>QDMTex</name>
<type>sampler-2d</type>
<name>NoiseTex</name>
<type>sampler-3d</type>
<value type="int">2</value>
</uniform>
<uniform>
<name>NoiseTex</name>
<type>sampler-3d</type>
<name>QDMTex</name>
<type>sampler-2d</type>
<value type="int">3</value>
</uniform>
<uniform>