@d5techs/3dgs-lib 1.4.72 → 1.4.73

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/3dgs-lib.js CHANGED
@@ -2113,7 +2113,7 @@ struct V { @builtin(position) pos: vec4<f32>, @location(0) dir: vec3<f32> };
2113
2113
  }
2114
2114
  @fragment fn fs(i: V) -> @location(0) vec4<f32> {
2115
2115
  let d = normalize(i.dir);
2116
- return vec4(textureSample(cubeTexture, cubeSampler, vec3(-d.x, d.y, d.z)).rgb, 1.);
2116
+ return vec4(textureSample(cubeTexture, cubeSampler, vec3(-d.x, d.y, -d.z)).rgb, 1.);
2117
2117
  }`
2118
2118
  );
2119
2119
  class SkyboxRenderer {