Merge branch 'master' of https://github.com/Anuken/Mindustry into 7.0-features
Conflicts: gradle.properties
|
Before Width: | Height: | Size: 239 KiB After Width: | Height: | Size: 125 KiB |
|
Before Width: | Height: | Size: 447 KiB After Width: | Height: | Size: 268 KiB |
|
Before Width: | Height: | Size: 398 KiB After Width: | Height: | Size: 222 KiB |
|
Before Width: | Height: | Size: 316 KiB After Width: | Height: | Size: 171 KiB |
|
Before Width: | Height: | Size: 229 KiB After Width: | Height: | Size: 118 KiB |
|
Before Width: | Height: | Size: 280 KiB After Width: | Height: | Size: 147 KiB |
@@ -20,9 +20,9 @@ void main(){
|
||||
vec4 color = texture2D(u_texture, c);
|
||||
|
||||
if(noise > 0.54 && noise < 0.68){
|
||||
color.rgb *= 1.4;
|
||||
color.rgb *= vec3(1.4);
|
||||
}else if(!(noise > 0.40 && noise < 0.54)){
|
||||
color.rgb *= 1.2;
|
||||
color.rgb *= vec3(1.2);
|
||||
}
|
||||
|
||||
gl_FragColor = color;
|
||||
|
||||