@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/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.;
|