This commit is contained in:
Anuken
2020-10-19 18:28:37 -04:00
parent d5fb0e924a
commit c27251cfb0
9 changed files with 72 additions and 27 deletions
+1
View File
@@ -512,6 +512,7 @@ weather.rain.name = Rain
weather.snow.name = Snow
weather.sandstorm.name = Sandstorm
weather.sporestorm.name = Sporestorm
weather.fog.name = Fog
sectors.unexplored = [lightgray]Unexplored
sectors.resources = Resources:
+9
View File
@@ -0,0 +1,9 @@
varying lowp vec4 v_color;
varying lowp vec4 v_mix_color;
varying vec2 v_texCoords;
uniform sampler2D u_texture;
void main(){
vec4 c = texture2D(u_texture, v_texCoords);
gl_FragColor = v_color * mix(c, vec4(v_mix_color.rgb, c.a), v_mix_color.a);
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB