diff --git a/lib/ivis_opengl/gfx_api_gl.cpp b/lib/ivis_opengl/gfx_api_gl.cpp index cd3e7ad4f83..b1dde35e852 100644 --- a/lib/ivis_opengl/gfx_api_gl.cpp +++ b/lib/ivis_opengl/gfx_api_gl.cpp @@ -1657,6 +1657,7 @@ static bool patchFragmentShaderPointLightsDefines(std::string& fragmentShaderStr std::make_pair("WZ_MAX_INDEXED_POINT_LIGHTS", gfx_api::max_indexed_lights), std::make_pair("WZ_BUCKET_DIMENSION", gfx_api::bucket_dimension), std::make_pair("WZ_POINT_LIGHT_ENABLED", static_cast(lightingConstants.isPointLightPerPixelEnabled)), + std::make_pair("WZ_VOLUMETRIC_LIGHTING_ENABLED", static_cast(lightingConstants.isVolumetricLightingEnabled)), }; const auto& replacer = [&fragmentShaderStr](const std::string& define, const auto& value) -> bool {