use of com.gempukku.libgdx.graph.plugin.lighting3d.Directional3DLight in project gdx-graph by MarcinSc.
the class Episode9Scene method createLights.
private Lighting3DEnvironment createLights() {
float ambientBrightness = 0.3f;
float directionalBrightness = 0.8f;
Lighting3DEnvironment lights = new Lighting3DEnvironment();
lights.setAmbientColor(new Color(ambientBrightness, ambientBrightness, ambientBrightness, 1f));
DirectionalLight directionalLight = new DirectionalLight();
directionalLight.setColor(directionalBrightness, directionalBrightness, directionalBrightness, 1f);
directionalLight.setDirection(-0.3f, -0.4f, -1);
lights.addDirectionalLight(new Directional3DLight(directionalLight));
return lights;
}
use of com.gempukku.libgdx.graph.plugin.lighting3d.Directional3DLight in project gdx-graph by MarcinSc.
the class Episode16Scene method createLights.
private Lighting3DEnvironment createLights() {
float ambientBrightness = 0.8f;
float directionalBrightness = 0.8f;
Lighting3DEnvironment lights = new Lighting3DEnvironment();
lights.setAmbientColor(new Color(ambientBrightness, ambientBrightness, ambientBrightness, 1f));
DirectionalLight directionalLight = new DirectionalLight();
directionalLight.setColor(directionalBrightness, directionalBrightness, directionalBrightness, 1f);
directionalLight.setDirection(-1f, -0.3f, 0);
lights.addDirectionalLight(new Directional3DLight(directionalLight));
return lights;
}
use of com.gempukku.libgdx.graph.plugin.lighting3d.Directional3DLight in project gdx-graph by MarcinSc.
the class Episode7Scene method createLights.
private Lighting3DEnvironment createLights() {
float ambientBrightness = 0.3f;
float directionalBrightness = 0.8f;
Lighting3DEnvironment lights = new Lighting3DEnvironment();
lights.setAmbientColor(new Color(ambientBrightness, ambientBrightness, ambientBrightness, 1f));
DirectionalLight directionalLight = new DirectionalLight();
directionalLight.setColor(directionalBrightness, directionalBrightness, directionalBrightness, 1f);
directionalLight.setDirection(-1f, -0.3f, 0);
lights.addDirectionalLight(new Directional3DLight(directionalLight));
return lights;
}
use of com.gempukku.libgdx.graph.plugin.lighting3d.Directional3DLight in project gdx-graph by MarcinSc.
the class Episode15Scene method createLights.
private Lighting3DEnvironment createLights() {
float ambientBrightness = 0.8f;
float directionalBrightness = 0.8f;
Lighting3DEnvironment lights = new Lighting3DEnvironment();
lights.setAmbientColor(new Color(ambientBrightness, ambientBrightness, ambientBrightness, 1f));
DirectionalLight directionalLight = new DirectionalLight();
directionalLight.setColor(directionalBrightness, directionalBrightness, directionalBrightness, 1f);
directionalLight.setDirection(-1f, -0.3f, 0);
lights.addDirectionalLight(new Directional3DLight(directionalLight));
return lights;
}
use of com.gempukku.libgdx.graph.plugin.lighting3d.Directional3DLight in project gdx-graph by MarcinSc.
the class Episode12Scene method createLights.
private Lighting3DEnvironment createLights() {
float ambientBrightness = 0.3f;
float directionalBrightness = 0.8f;
Lighting3DEnvironment lights = new Lighting3DEnvironment();
lights.setAmbientColor(new Color(ambientBrightness, ambientBrightness, ambientBrightness, 1f));
DirectionalLight directionalLight = new DirectionalLight();
directionalLight.setColor(directionalBrightness, directionalBrightness, directionalBrightness, 1f);
directionalLight.setDirection(-0.3f, -0.4f, -1);
lights.addDirectionalLight(new Directional3DLight(directionalLight));
return lights;
}
Aggregations