@d5techs/3dgs-lib 1.4.72 → 1.4.74

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