Real-time lighting + solar system rendering
This commit is contained in:
11
core/src/mindustry/graphics/g3d/ShaderSphereMesh.java
Normal file
11
core/src/mindustry/graphics/g3d/ShaderSphereMesh.java
Normal file
@@ -0,0 +1,11 @@
|
||||
package mindustry.graphics.g3d;
|
||||
|
||||
import arc.graphics.gl.*;
|
||||
import mindustry.type.*;
|
||||
|
||||
public abstract class ShaderSphereMesh extends PlanetMesh{
|
||||
|
||||
public ShaderSphereMesh(Planet planet, Shader shader, int divisions){
|
||||
super(planet, MeshBuilder.buildIcosphere(divisions, planet.radius), shader);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user