X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_render.h;h=ac0a0f2a82160b1e9e5e8e1d5ff98cc854031a27;hb=b405845ac2cc8eb8e227eb5785f48f5dde9b0f26;hp=dee421694c5031ea88815c79c7998dc9eeb8efc9;hpb=c2b59441df0383807ba093295af2e4400e552f39;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_render.h b/world_render.h index dee4216..ac0a0f2 100644 --- a/world_render.h +++ b/world_render.h @@ -12,6 +12,7 @@ #include "shaders/scene_standard.h" #include "shaders/scene_standard_alphatest.h" +#include "shaders/scene_override.h" #include "shaders/scene_cubemapped.h" #include "shaders/scene_vertex_blend.h" #include "shaders/scene_terrain.h" @@ -59,22 +60,23 @@ struct world_render{ u32 text_particle_count; } static world_render; -VG_STATIC void world_render_init(void); +static void world_render_init(void); -VG_STATIC void world_link_lighting_ub( world_instance *world, GLuint shader ); -VG_STATIC void world_bind_position_texture( world_instance *world, +static void world_link_lighting_ub( world_instance *world, GLuint shader ); +static void world_bind_position_texture( world_instance *world, GLuint shader, GLuint location, int slot ); -VG_STATIC void world_bind_light_array( world_instance *world, +static void world_bind_light_array( world_instance *world, GLuint shader, GLuint location, int slot ); -VG_STATIC void world_bind_light_index( world_instance *world, +static void world_bind_light_index( world_instance *world, GLuint shader, GLuint location, int slot ); -VG_STATIC void render_world_position( world_instance *world, camera *cam ); -VG_STATIC void render_world_depth( world_instance *world, camera *cam ); -VG_STATIC void render_world( world_instance *world, camera *cam, +static void render_world_position( world_instance *world, camera *cam ); +static void render_world_depth( world_instance *world, camera *cam ); +static void render_world( world_instance *world, camera *cam, int layer_depth ); -VG_STATIC void render_world_cubemaps( world_instance *world ); +static void render_world_cubemaps( world_instance *world ); +static void bind_terrain_noise(void); #endif /* WORLD_RENDER_H */