diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-01-23 21:38:48 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-01-23 21:49:10 +0400 |
commit | 9f903208e800d4580314dc03d31e8ae5fea73cdb (patch) | |
tree | ad84fc8ce83be760934732066f4d891c26521cf6 /release/scripts/startup/bl_ui/properties_texture.py | |
parent | b119f471f4c5bd20975091259a0da6ce155180e6 (diff) |
Fix T36165: blender internal HDR textures with negative values got clamped.
For example for vector displacement, you may have an EXR texture that has
negative colors values. Blender clamps these by default, now the Colors panel
for textures has a Clamp option to disable this clamping.
This option affects all texture types and is enabled by default, you need
to disable it if you want negative values to have an influence.
Patch by Fredrik Hansson with modifications by me.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_texture.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_texture.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_texture.py b/release/scripts/startup/bl_ui/properties_texture.py index c03ea1c5422..009309479ec 100644 --- a/release/scripts/startup/bl_ui/properties_texture.py +++ b/release/scripts/startup/bl_ui/properties_texture.py @@ -269,6 +269,9 @@ class TEXTURE_PT_colors(TextureButtonsPanel, Panel): col.prop(tex, "contrast") col.prop(tex, "saturation") + col = layout.column() + col.prop(tex, "use_clamp", text="Clamp") + # Texture Slot Panels # |