diff --git a/libs/video/renderer/Makemodule.am b/libs/video/renderer/Makemodule.am index 9eb2c2354..8c459dd1c 100644 --- a/libs/video/renderer/Makemodule.am +++ b/libs/video/renderer/Makemodule.am @@ -270,7 +270,6 @@ libs_video_renderer_librender_vulkan_la_SOURCES = \ libs/video/renderer/vulkan/vulkan_compose.c \ libs/video/renderer/vulkan/vulkan_draw.c \ libs/video/renderer/vulkan/vulkan_lighting.c \ - libs/video/renderer/vulkan/vulkan_lightmap.c \ libs/video/renderer/vulkan/vulkan_main.c \ libs/video/renderer/vulkan/vulkan_matrices.c \ libs/video/renderer/vulkan/vulkan_particles.c \ diff --git a/libs/video/renderer/vulkan/vulkan_bsp.c b/libs/video/renderer/vulkan/vulkan_bsp.c index f1ba6e472..937876dc9 100644 --- a/libs/video/renderer/vulkan/vulkan_bsp.c +++ b/libs/video/renderer/vulkan/vulkan_bsp.c @@ -202,7 +202,7 @@ Vulkan_ClearElements (vulkan_ctx_t *ctx) release_elechains (bctx); release_elementss (bctx); } - +/* static void update_lightmap (mod_brush_t *brush, msurface_t *surf, vulkan_ctx_t *ctx) { @@ -218,7 +218,7 @@ dynamic: Vulkan_BuildLightMap (brush, surf, ctx); } } - +*/ static inline void chain_surface (mod_brush_t *brush, msurface_t *surf, vec_t *transform, float *color, vulkan_ctx_t *ctx) @@ -241,7 +241,7 @@ chain_surface (mod_brush_t *brush, msurface_t *surf, vec_t *transform, tex = tx->render; CHAIN_SURF_F2B (surf, tex->tex_chain); - update_lightmap (brush, surf, ctx); + //update_lightmap (brush, surf, ctx); } if (!(is = surf->instsurf)) is = surf->tinst; @@ -1149,7 +1149,7 @@ Vulkan_DrawWorld (vulkan_ctx_t *ctx) } } - Vulkan_FlushLightmaps (ctx); + //Vulkan_FlushLightmaps (ctx); bsp_begin (ctx); push_transform (identity, bctx->layout, dfunc, diff --git a/libs/video/renderer/vulkan/vulkan_main.c b/libs/video/renderer/vulkan/vulkan_main.c index bf1cd3ff2..3474b67ed 100644 --- a/libs/video/renderer/vulkan/vulkan_main.c +++ b/libs/video/renderer/vulkan/vulkan_main.c @@ -214,7 +214,7 @@ Vulkan_NewMap (model_t *worldmodel, struct model_s **models, int num_models, R_FreeAllEntities (); Vulkan_ClearParticles (ctx); Vulkan_RegisterTextures (models, num_models, ctx); - Vulkan_BuildLightmaps (models, num_models, ctx); + //Vulkan_BuildLightmaps (models, num_models, ctx); Vulkan_BuildDisplayLists (models, num_models, ctx); Vulkan_LoadLights (worldmodel, worldmodel->brush.entities, ctx); }