Removed different colorstrips, flickering between forest/herbtundra
This commit is contained in:
parent
269a999c4d
commit
71a7c8cf72
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@
|
||||||
<internal-format>normalized</internal-format>
|
<internal-format>normalized</internal-format>
|
||||||
</texture>
|
</texture>
|
||||||
<texture n="3">
|
<texture n="3">
|
||||||
<image>Textures/Terrain/herbtundra-colors.png</image>
|
<image>Textures/Terrain/forest-colors.png</image>
|
||||||
<filter>linear-mipmap-linear</filter>
|
<filter>linear-mipmap-linear</filter>
|
||||||
<wrap-s>mirror</wrap-s>
|
<wrap-s>mirror</wrap-s>
|
||||||
<internal-format>normalized</internal-format>
|
<internal-format>normalized</internal-format>
|
||||||
|
|
|
@ -187,5 +187,5 @@ void main (void)
|
||||||
if(gl_Fog.density == 1.0)
|
if(gl_Fog.density == 1.0)
|
||||||
fogFactor=1.0;
|
fogFactor=1.0;
|
||||||
|
|
||||||
gl_FragColor = mix(gl_Fog.color ,finalColor, fogFactor);
|
gl_FragColor = mix(gl_Fog.color,finalColor, fogFactor);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue