X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_render.h;h=0229b9d5ef756994c9fc6c7d10291075d5e0ce22;hb=14b3d5c13faab36bd37ae27aa8c1501ba7146f89;hp=4e777ddd229af9f7b6120826d633335cff846229;hpb=1a40e653040837e47a4aba82d6b9f9800901fd64;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_render.h b/world_render.h index 4e777dd..0229b9d 100644 --- a/world_render.h +++ b/world_render.h @@ -5,11 +5,14 @@ #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" @@ -71,5 +74,6 @@ 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, int layer_depth ); +VG_STATIC void render_world_cubemaps( world_instance *world ); #endif /* WORLD_RENDER_H */