// Do not edit. import { ShaderStore } from "../../Engines/shaderStore.js"; const name = "pbrBlockLightmapInit"; const shader = `#ifdef LIGHTMAP vec4 lightmapColor=texture2D(lightmapSampler,vLightmapUV+uvOffset); #ifdef RGBDLIGHTMAP lightmapColor.rgb=fromRGBD(lightmapColor); #endif #ifdef GAMMALIGHTMAP lightmapColor.rgb=toLinearSpace(lightmapColor.rgb); #endif lightmapColor.rgb*=vLightmapInfos.y; #endif `; // Sideeffect ShaderStore.IncludesShadersStore[name] = shader; /** @internal */ export const pbrBlockLightmapInit = { name, shader }; //# sourceMappingURL=pbrBlockLightmapInit.js.map