Skip to content

Commit

Permalink
changed primary color of hoodie glb to black
Browse files Browse the repository at this point in the history
  • Loading branch information
AdLer-Lukas committed Jan 29, 2025
1 parent cb3050b commit eb60c86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -301,15 +301,15 @@ export default class AvatarEditorPreviewModelView {
let shirtTexture = shirtMaterial?.getActiveTextures()[0] as Texture;

// Set Displacement of current mesh UV Map
const uDisplacement = 0;
const vDisplacement = 0.875;
// const uDisplacement = 0;
// const vDisplacement = 0.875;

let shirtColorUOffeset = shirtColor?.uOffset ?? 0;
let shirtColorVOffset = shirtColor?.vOffset ?? 0;

if (shirtTexture === undefined) return;
shirtTexture.uOffset = shirtColorUOffeset - uDisplacement;
shirtTexture.vOffset = shirtColorVOffset - vDisplacement;
shirtTexture.uOffset = shirtColorUOffeset; //- uDisplacement;
shirtTexture.vOffset = shirtColorVOffset; //- vDisplacement;
}

private updateModelPants(pants?: AvatarPantsModels | undefined) {
Expand Down

0 comments on commit eb60c86

Please sign in to comment.