projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
code is no longer based :(
[carveJwlIkooP6JGAAIwe30JlM.git]
/
world_render.h
diff --git
a/world_render.h
b/world_render.h
index 1810400ad964052f8bfb8b47ee06396707ffa4a4..d7ea51976729012e95dc76dd01e61ab67e108deb 100644
(file)
--- a/
world_render.h
+++ b/
world_render.h
@@
-21,6
+21,7
@@
#include "shaders/scene_position.h"
#include "shaders/scene_font.h"
#include "shaders/model_sky.h"
#include "shaders/scene_position.h"
#include "shaders/scene_font.h"
#include "shaders/model_sky.h"
+#include "shaders/model_sky_space.h"
static const float k_world_light_cube_size = 8.0f;
static const float k_world_light_cube_size = 8.0f;
@@
-78,7
+79,9
@@
static void render_world( world_instance *world, camera *cam,
int layer_depth );
static void render_world_cubemaps( world_instance *world );
static void bind_terrain_noise(void);
int layer_depth );
static void render_world_cubemaps( world_instance *world );
static void bind_terrain_noise(void);
-static void render_world_override( world_instance *world, m4x3f mmdl );
+static void render_world_override( world_instance *world,
+ world_instance *lighting_source,
+ m4x3f mmdl );
#define WORLD_BIND_LIGHT_BUFFERS_UB0_TEX234( WORLD, SHADER ) \
world_link_lighting_ub( WORLD, _shader_##SHADER.id ); \
#define WORLD_BIND_LIGHT_BUFFERS_UB0_TEX234( WORLD, SHADER ) \
world_link_lighting_ub( WORLD, _shader_##SHADER.id ); \