Clamping in 'texture context -> colors panel' doesn't work under some extreme circumstances. #44984

Closed
opened 2015-06-07 02:04:16 +02:00 by Francesco · 8 comments

System Information
Lubuntu 15.04

Blender Version
Broken: 2.74.5 54ac84f

Clamping sometimes allows negative values after a boost in saturation that results in supersaturated colors. It seems to be triggered when the colors go way out of gamut because of saturation, not luma. B/W pictures are not affected. A big boost in saturation can trigger this even with lowered contrast. A contrast boost won't trigger this bug if saturation is not boosted as well.
Different image sampling filters and sizes don't affect occurrence of bug.
Weirdly for standard images, the maximum negative value seems to be in my tests of -0.00967. For procedural textures I have not found a hard threshold.
This issue appears only in a material with shadeless mode and with antialiasing disabled.
Rendered with BI, not tested with cycles.

Exact steps for others to reproduce the error
The .blend has a plane with 2 textures slots, one has a normal image and the other is just a clouds procedural.

bug_report.blend

**System Information** Lubuntu 15.04 **Blender Version** Broken: 2.74.5 54ac84f Clamping sometimes allows negative values after a boost in saturation that results in supersaturated colors. It seems to be triggered when the colors go way out of gamut because of saturation, not luma. B/W pictures are not affected. A big boost in saturation can trigger this even with lowered contrast. A contrast boost won't trigger this bug if saturation is not boosted as well. Different image sampling filters and sizes don't affect occurrence of bug. Weirdly for standard images, the maximum negative value seems to be in my tests of -0.00967. For procedural textures I have not found a hard threshold. This issue appears only in a material with shadeless mode and with antialiasing disabled. Rendered with BI, not tested with cycles. **Exact steps for others to reproduce the error** The .blend has a plane with 2 textures slots, one has a normal image and the other is just a clouds procedural. [bug_report.blend](https://archive.blender.org/developer/F186444/bug_report.blend)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @Francesco89

Added subscriber: @Francesco89

Added subscriber: @mont29

Added subscriber: @mont29

Think you did not attach the right .blend? No texture at all in this one…

Think you did not attach the right .blend? No texture at all in this one…
Author

I'm an idiot. I linked an old .blend I used for another report. Sorry, same file name different folders!
Another thing I forgot to point out earlier: the negative values are found not in black pizels but in supersaturated ones.
Here is the right one with the packed image.

THE_REAL_bug_report_damnit.blend

I'm an idiot. I linked an old .blend I used for another report. Sorry, same file name different folders! Another thing I forgot to point out earlier: the negative values are found not in black pizels but in supersaturated ones. Here is the right one with the packed image. [THE_REAL_bug_report_damnit.blend](https://archive.blender.org/developer/F186825/THE_REAL_bug_report_damnit.blend)
Bastien Montagne self-assigned this 2015-06-07 16:53:29 +02:00

Confirmed, glitch when applying saturation > 1.0 to our textures…

Confirmed, glitch when applying saturation > 1.0 to our textures…

This issue was referenced by 9927849708

This issue was referenced by 9927849708ace2657de759fc9b72053b13be9576

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sign in to join this conversation.
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: blender/blender#44984
No description provided.