@mml-io/3d-web-client-core 0.0.0-experimental-c0eb634-20240319 → 0.0.0-experimental-1bd55a6-20240319

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/build/index.js CHANGED
@@ -1174,10 +1174,10 @@ var fontScale = 5;
1174
1174
  var defaultLabelColor = new Color2(0);
1175
1175
  var defaultFontColor = new Color2(16777215);
1176
1176
  var defaultLabelAlignment = "center" /* center */;
1177
- var defaultLabelFontSize = 9;
1177
+ var defaultLabelFontSize = 8;
1178
1178
  var defaultLabelPadding = 0;
1179
1179
  var defaultLabelWidth = 0.25;
1180
- var defaultLabelHeight = 0.125;
1180
+ var defaultLabelHeight = 0.1;
1181
1181
  var defaultLabelCastShadows = true;
1182
1182
  var tooltipGeometry = new PlaneGeometry(1, 1, 1, 1);
1183
1183
  var CharacterTooltip = class extends Mesh3 {
@@ -1186,7 +1186,7 @@ var CharacterTooltip = class extends Mesh3 {
1186
1186
  this.visibleOpacity = 0.85;
1187
1187
  this.targetOpacity = 0;
1188
1188
  this.fadingSpeed = 0.02;
1189
- this.secondsToFadeOut = 15;
1189
+ this.secondsToFadeOut = 10;
1190
1190
  this.props = {
1191
1191
  content: "",
1192
1192
  alignment: defaultLabelAlignment,
@@ -1243,7 +1243,7 @@ var CharacterTooltip = class extends Mesh3 {
1243
1243
  this.tooltipMaterial.needsUpdate = true;
1244
1244
  this.scale.x = width / (100 * fontScale);
1245
1245
  this.scale.y = height / (100 * fontScale);
1246
- this.position.y = 1.6;
1246
+ this.position.y = 1.4;
1247
1247
  }
1248
1248
  setText(text, temporary = false) {
1249
1249
  this.redrawText(text);
@@ -1789,7 +1789,7 @@ var CharacterManager = class {
1789
1789
  );
1790
1790
  this.localCharacter.position.set(spawnPosition.x, spawnPosition.y, spawnPosition.z);
1791
1791
  this.localCharacter.rotation.set(spawnRotation.x, spawnRotation.y, spawnRotation.z);
1792
- (_a = character.tooltip) == null ? void 0 : _a.setText(`${id}`);
1792
+ (_a = character.tooltip) == null ? void 0 : _a.setText(`${id}`, true);
1793
1793
  this.group.add(character);
1794
1794
  this.localCharacterSpawned = true;
1795
1795
  }
@@ -2565,7 +2565,7 @@ var ppssaoOptions = {
2565
2565
  };
2566
2566
  var n8ssaoValues = {
2567
2567
  enabled: true,
2568
- halfRes: false,
2568
+ halfRes: true,
2569
2569
  aoRadius: 5,
2570
2570
  distanceFalloff: 3,
2571
2571
  intensity: 1,