X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_render.h;h=d71b44e448fedbbe70dbdf463579f60717585008;hb=99376ce8eaf30125fb08dd5dc8b534800580fe47;hp=4e777ddd229af9f7b6120826d633335cff846229;hpb=4c673ebccdd6d12e2eb6c2804b79602da98ea8b1;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_render.h b/world_render.h index 4e777dd..d71b44e 100644 --- a/world_render.h +++ b/world_render.h @@ -5,16 +5,20 @@ #ifndef WORLD_RENDER_H #define WORLD_RENDER_H +#define WORLD_CUBEMAP_RES 32 + #include "camera.h" #include "world.h" #include "shaders/scene_standard.h" #include "shaders/scene_standard_alphatest.h" +#include "shaders/scene_cubemapped.h" #include "shaders/scene_vertex_blend.h" #include "shaders/scene_terrain.h" #include "shaders/scene_fxglow.h" #include "shaders/scene_depth.h" #include "shaders/scene_position.h" +#include "shaders/scene_font.h" #include "shaders/model_sky.h" static const float k_world_light_cube_size = 8.0f; @@ -69,7 +73,8 @@ VG_STATIC void world_bind_light_index( world_instance *world, 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, +VG_STATIC void render_world( world_instance *world, camera *cam, int layer_depth ); +VG_STATIC void render_world_cubemaps( world_instance *world ); #endif /* WORLD_RENDER_H */