Skip to content

Missing handling for colorized textures (Grass isn't green) #90

@randomMesh

Description

@randomMesh

Generating a colors.txt file for MineClone2 with the dumpnodes mod yields in a brownish color (RGB 142 131 114) for mcl_core:dirt_with_grass.

See attached image, "singleplayer" literally is standing in a meadow but it looks like there's only rock.

I expect the color to be more greenish.
For example, the color for default:dirt_with_grass in the shipped colors.txt is RGB 64 111 26, which is way better.

I think the problem lies within the average_color function in util/generate_colorstxt.py
https://github.com/minetest/minetestmapper/blob/9b26d9495cdaaf6af13ff7b5bde0560198e3c722/util/generate_colorstxt.py#L63

map

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions