mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-22 20:48:33 +07:00
Cloud fix
This commit is contained in:
parent
9c62d49eb4
commit
ebf3e0fbd1
@ -44,7 +44,7 @@ public class HexSkyMesh extends PlanetMesh{
|
||||
@Override
|
||||
public void render(PlanetParams params, Mat3D projection, Mat3D transform){
|
||||
//don't waste performance rendering 0-alpha clouds
|
||||
if(Mathf.zero(1f - params.uiAlpha, 0.01f)) return;
|
||||
if(params.planet == planet && Mathf.zero(1f - params.uiAlpha, 0.01f)) return;
|
||||
|
||||
preRender(params);
|
||||
shader.bind();
|
||||
|
Loading…
Reference in New Issue
Block a user