mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-09 20:29:06 +07:00
add universeDraw event
This commit is contained in:
parent
35a86a1aac
commit
ef2bf2e129
@ -36,8 +36,11 @@ public class EventType{
|
||||
postDraw,
|
||||
uiDrawBegin,
|
||||
uiDrawEnd,
|
||||
//before/after bloom used, skybox or planets drawn - use Vars.renderer.planets
|
||||
//before/after bloom used, skybox or planets drawn
|
||||
universeDrawBegin,
|
||||
//skybox drawn and bloom is enabled - use Vars.renderer.planets
|
||||
universeDraw,
|
||||
//planets drawn and bloom disabled
|
||||
universeDrawEnd
|
||||
}
|
||||
|
||||
|
@ -89,6 +89,8 @@ public class PlanetRenderer implements Disposable{
|
||||
|
||||
skybox.render(cam.combined);
|
||||
|
||||
Events.fire(Trigger.universeDraw);
|
||||
|
||||
renderPlanet(solarSystem);
|
||||
|
||||
endBloom();
|
||||
|
Loading…
Reference in New Issue
Block a user