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