Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use higher bit-depth for texture baking #40

Open
malpas opened this issue Apr 3, 2022 · 2 comments
Open

Use higher bit-depth for texture baking #40

malpas opened this issue Apr 3, 2022 · 2 comments
Labels
enhancement New feature or request work in progress

Comments

@malpas
Copy link
Contributor

malpas commented Apr 3, 2022

Texture baking currently only exports an image with 8 bit depth. This causes noticeable stepping, because there are only 256 possible values to use. Supporting a 16 bit-depth is important for using the terrain with any other tool.

Example

When you take the texture baking output of this terrain:
example

And try to use it in something like Blender, you get this:

example-blender

It's also flipped for some reason (ExportTexture.cpp:23).

Heightmap:
height

@Jaysmito101 Jaysmito101 added the enhancement New feature or request label Apr 3, 2022
@Jaysmito101
Copy link
Owner

Jaysmito101 commented Apr 23, 2022

Hey an update to this issue this feature will be included from the next release along with 32 bit export too.

@Jaysmito101
Copy link
Owner

caf3f55 Added Internal support for 8, 16 and 32 bit textures

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request work in progress
Projects
None yet
Development

No branches or pull requests

2 participants