We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e248a9 commit c855907Copy full SHA for c855907
src/progressed/graphics/renders/BlackHoleRenderer.java
@@ -23,20 +23,12 @@ public BlackHoleRenderer(){ //TODO setting
23
buffer = new FrameBuffer();
24
25
Events.run(Trigger.draw, () -> {
26
- Draw.draw(Layer.min, () -> {
+ Draw.draw(Layer.min + 0.01f, () -> {
27
buffer.resize(graphics.getWidth(), graphics.getHeight());
28
buffer.begin();
29
});
30
31
Draw.draw(Layer.max, () -> {
32
- /*for(BlackHoleZone zone : zones){
33
- Fill.light(
34
- zone.x, zone.y,
35
- Lines.circleVertices(zone.outRadius), zone.outRadius,
36
- Tmp.c1.abgr8888(zone.color).a(0.5f), Tmp.c2.abgr8888(zone.color).a(0)
37
- );
38
- }*/
39
-
40
buffer.end();
41
42
if(zones.size >= GravitationalLensingShader.len) PMShaders.createBlackholeShader();
0 commit comments