cubemaps
[carveJwlIkooP6JGAAIwe30JlM.git] / skaterift.c
index 5804a3d647c3604072989d5e6a6b236fe6cc92ae..40be41ef0c7b9d4732b35509f37239987c79d1e4 100644 (file)
@@ -507,6 +507,12 @@ VG_STATIC void render_main_game(void){
 
    /* --------------------------------------------------------------------- */
 
+   /* cubemaps TODO: Need a cubemap mark dirty thing for pordals */
+   world_instance *view_world = localplayer.viewable_world;
+   if( view_world != NULL ){
+      render_world_cubemaps( view_world );
+   }
+
    /* variable res target */
    render_fb_bind( gpipeline.fb_main, 1 );
    glClearColor( 0.0f, 0.0f, 0.0f, 1.0f );