mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-10-02 11:10:50 +03:00
Fixed NoiseEffect clipping
This commit is contained in:
@@ -23,6 +23,11 @@ public class NoiseEffect extends Effect{
|
||||
public float layerColorMul = 0.9f;
|
||||
public Texture tex;
|
||||
|
||||
{
|
||||
//noise effects must not be clipped
|
||||
clip = Float.MAX_VALUE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void render(EffectContainer e){
|
||||
if(tex == null){
|
||||
|
||||
Reference in New Issue
Block a user