X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_render.h;h=383706853a4aeb1325f32555da58d47069e0d27c;hb=d171c9ad5de05c9ac8563fcf9f23760b93fb50f8;hp=d7ea51976729012e95dc76dd01e61ab67e108deb;hpb=874c9d7e6ee2d826f9eb34518e8163283439c38e;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_render.h b/world_render.h index d7ea519..3837068 100644 --- a/world_render.h +++ b/world_render.h @@ -75,13 +75,15 @@ static void world_bind_light_index( world_instance *world, int slot ); 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 ); +static void render_world( world_instance *world, camera *cam, + int stenciled, int viewing_from_gate, + int with_water, int with_cubemaps ); static void render_world_cubemaps( world_instance *world ); static void bind_terrain_noise(void); static void render_world_override( world_instance *world, world_instance *lighting_source, - m4x3f mmdl ); + m4x3f mmdl, + camera *cam ); #define WORLD_BIND_LIGHT_BUFFERS_UB0_TEX234( WORLD, SHADER ) \ world_link_lighting_ub( WORLD, _shader_##SHADER.id ); \