mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Render figures again.
This commit is contained in:
parent
44e4aad48d
commit
f7b497a0c2
@ -7,7 +7,7 @@ const float PI = 3.141592;
|
||||
const vec3 SKY_DAY_TOP = vec3(0.1, 0.5, 0.9);
|
||||
const vec3 SKY_DAY_MID = vec3(0.02, 0.28, 0.8);
|
||||
const vec3 SKY_DAY_BOT = vec3(0.1, 0.2, 0.3);
|
||||
const vec3 DAY_LIGHT = vec3(1.2, 1.0, 1.0) * 1.8;//3.0;
|
||||
const vec3 DAY_LIGHT = vec3(1.2, 1.0, 1.0) * 3.0;
|
||||
const vec3 SUN_HALO_DAY = vec3(0.35, 0.35, 0.0);
|
||||
|
||||
const vec3 SKY_DUSK_TOP = vec3(0.06, 0.1, 0.20);
|
||||
|
@ -411,6 +411,17 @@ impl Scene {
|
||||
&self.lod,
|
||||
self.camera.get_focus_pos(),
|
||||
);
|
||||
self.figure_mgr.render(
|
||||
renderer,
|
||||
state,
|
||||
player_entity,
|
||||
tick,
|
||||
&self.globals,
|
||||
&self.lights,
|
||||
&self.shadows,
|
||||
&self.lod,
|
||||
&self.camera,
|
||||
);
|
||||
self.lod.render(renderer, &self.globals);
|
||||
|
||||
// Render the skybox.
|
||||
|
Loading…
Reference in New Issue
Block a user