Skip to content

Brush values from exr file should not be clamped between 0 and 1 #797

@rubberduck9999

Description

@rubberduck9999

Terrain3D version

v.1.0.1

System information

Godot v4.4.1.stable - Windows 10 (build 19045) - Multi-window, 2 monitors - OpenGL 3 (Compatibility) - NVIDIA GeForce RTX 4080 (NVIDIA; 32.0.15.6094) - Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (12 threads)

Is the issue reproducable in the demo?

Yes

Issue description

I recently started creating my own exr brushes and discovered that values below 0 and higher than 1 get clamped.
When sculpting with these inside blender everything works as expected, here the results as reference.

Image

In godot it looks like this
Image

It feels like a bug, as with a format that supports values outside 0 and 1 I expected it to work, especially when I saw it in the preview, that it shows negative values. Otherwise it could be seen as a feature request too.

Here are the attached exr files, tested in the demo project.
clamping_issue_brushes.zip

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    1.1

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions