All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ca.blarg.gdx.tilemap3d.lighting.SimpleTileMapLighter Maven / Gradle / Ivy

Go to download

Library to handle management and rendering of a game world composed of 3D "tiles" arranged in a uniform 3D grid, via libGDX.

The newest version!
package ca.blarg.gdx.tilemap3d.lighting;

import ca.blarg.gdx.Bitfield;
import ca.blarg.gdx.tilemap3d.TileMap;
import ca.blarg.gdx.tilemap3d.Tile;
import ca.blarg.gdx.tilemap3d.TileMap;
import ca.blarg.gdx.tilemap3d.lighting.TileMapLighter;
import ca.blarg.gdx.tilemap3d.tilemesh.TileMesh;

public class SimpleTileMapLighter extends BaseTileMapLighter {
	public SimpleTileMapLighter() {
	}

	@Override
	public void light(TileMap tileMap) {
		resetLightValues(tileMap);
		castSkyLightDown(tileMap);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy