@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 +2 -0
- package/dist/main.cjs.map +1 -1
- package/dist/module.js +2 -0
- package/dist/module.js.map +1 -1
- package/package.json +1 -1
- package/types/materials/ReflectorMaterial.d.ts +1 -0
package/dist/module.js
CHANGED
|
@@ -3802,6 +3802,8 @@ void main() {
|
|
|
3802
3802
|
|
|
3803
3803
|
#ifdef USE_LIGHTMAP
|
|
3804
3804
|
irradiance += texture2D(lightMap, UV_LIGHTMAP).rgb * lightMapIntensity;
|
|
3805
|
+
#else
|
|
3806
|
+
irradiance += vec3(1.);
|
|
3805
3807
|
#endif
|
|
3806
3808
|
|
|
3807
3809
|
float lod = roughnessFactor * (1.7 - 0.7 * roughnessFactor) * 6.;
|