use of com.gempukku.libgdx.graph.plugin.lighting3d.Directional3DLight in project gdx-graph by MarcinSc.
the class Episode17Scene 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 Episode8Scene 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 Episode11Scene 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 Episode13Scene 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 Episode14Scene 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