Skip to content

Scaling causes clipping of last letter #35

@vincentpotato

Description

@vincentpotato

I am trying to scale my text to be smaller but whenever I do the last letter is clipped like shown in the picture below. It should say "Spacetime" but the E is clipped.
Screenshot 2020-02-25 at 17 05 03

This is the function that creates the textMesh

const geometry = createGeometry({ font, text: text, letterSpacing:letterSpacing, width:width, }); // Create material with msdf shader from three-bmfont-tex const material = new THREE.RawShaderMaterial(MSDFShader({ map: texture, color: color, side: THREE.DoubleSide, transparent: false, negate: false, }));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions