Skip to content

16 Bit Output #41

@manticorp

Description

@manticorp

This is an amazing tool - the data is available in 16 bit format, but the restrictions of web canvases mean in grayscale the data is limited to 8bit, which is a shame, because for use in many game heightmap imports, 8 bit data is not granular enough and results in large steps.

Is it possible to toggle 16 bit output, in the form of the straight terrarium data output by the tangram api?

I think this would be possible by creating a shader that doesn't perform the conversion from the terrarium style data to grayscale, which necessarily clamps to 8bit when writing to the canvas, and being able to toggle that on for rendering.

A separate tool could then be created to convert that data into a 16bit grayscale PNG file.

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