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