@xviewer.js/core 1.0.4-alpha.10 → 1.0.4-alpha.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.cjs CHANGED
@@ -3822,6 +3822,8 @@ void main() {
3822
3822
 
3823
3823
  #ifdef USE_LIGHTMAP
3824
3824
  irradiance += texture2D(lightMap, UV_LIGHTMAP).rgb * lightMapIntensity;
3825
+ #else
3826
+ irradiance += vec3(1.);
3825
3827
  #endif
3826
3828
 
3827
3829
  float lod = roughnessFactor * (1.7 - 0.7 * roughnessFactor) * 6.;