diff --git a/ref_vk/vk_light.c b/ref_vk/vk_light.c index 183fc4f2..babf98e7 100644 --- a/ref_vk/vk_light.c +++ b/ref_vk/vk_light.c @@ -604,7 +604,7 @@ void VK_LightsAddEmissiveSurface( const struct vk_render_geometry_s *geom, const if (!geom->surf) goto fin; // TODO break? no surface means that model is not brush - if (geom->material != kXVkMaterialSky && geom->material != kXVkMaterialEmissive && !g_lights.map.emissive_textures[texture_num].set) + if (/* geom->material != kXVkMaterialSky && */geom->material != kXVkMaterialEmissive && !g_lights.map.emissive_textures[texture_num].set) goto fin; if (g_lights.num_emissive_surfaces >= 256) @@ -634,7 +634,7 @@ void VK_LightsAddEmissiveSurface( const struct vk_render_geometry_s *geom, const // Insert into emissive surfaces esurf->kusok_index = geom->kusok_index; - if (geom->material != kXVkMaterialSky && geom->material != kXVkMaterialEmissive) { + if (/* geom->material != kXVkMaterialSky && */geom->material != kXVkMaterialEmissive) { VectorCopy(g_lights.map.emissive_textures[texture_num].emissive, esurf->emissive); } else { // TODO see #227