Replies: 1 comment
-
Our internal range is 0 to 65535 so your values will be changed to that range when you read an image. And for some formats this will be changed to a different range when it is being written. There is nothing you can do about that. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have the Q16 HDRI version.
I am writing to pixels manually, like so:
where
value
is a float3 in the range of 0.0 to 1.0 (or slightly beyond that)When writing and reading the image, I noticed that my values get clamped to 0 and 65535.0f
How can I work like any other image tool where i can add color values without clamping, Especially with the Exr format???
An image that has the color value R=4.0 G=0.2 B=1.0 should have R=4.0, G=0.2 and B=1.0 when writing and reading.
Beta Was this translation helpful? Give feedback.
All reactions