Skip to content

Flipping V texture coordinate #2

@thecodewarrior

Description

@thecodewarrior

When exporting UV maps from Blender, the origin is in the bottom-left corner, opposite Minecraft's origin in the top-left, resulting in a vertically flipped texture. It would be really helpful if FOML supported an option to flip the V coordinate to correct for this.

From what I can tell you could either iterate through the texture coordinates after loading the model in OBJBuilder and set v = 1 - v, or you could store whether to flip the axis and flip them when baking the model.

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