Skip to content

Texture composition rework #14

Description

@CodingMantisUA

Hi there! Would like to consult on rework texture composition, before I start it.
I'd like to propose next texture scheme:
Each tool part provides overlay texture and border for this texture (in all black). Instead of current overlay, pattern and cast.
Patters and casts can be calculated at a start up by combination of inverted overlay and modified border.

local tool_pattern = "blank_pattern.png^[mask:(tool_overlay.png^[invert:a)^" ..
    "(tool_border.png^[opacity:160^[multiply:#775121)"

Mentioned border can also be used for placeholders in a tool station parts slots.
Do you have any thoughts on it in principal? Any obvious mistakes?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions