diff options
author | Ton Roosendaal <ton@blender.org> | 2004-04-25 00:27:29 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-04-25 00:27:29 +0400 |
commit | 5bbd35ff054cf79b29ccdba3a85ff35ea6825611 (patch) | |
tree | 6c6190ef892987d02cba867ed826f6578484c8fb /source/blender/src/buttons_shading.c | |
parent | 382297b68753b1d17d6e57846206d086fde251b0 (diff) |
Turned Sky render code in Blender to become fully float, it still returned
bytes for RGB.
This to allow very bright contrasted images to be used for AO as well. As
a first start also the Texture->Colors panel now allows contrast setting
up to 5.0 (was 2.0).
Diffstat (limited to 'source/blender/src/buttons_shading.c')
-rw-r--r-- | source/blender/src/buttons_shading.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/buttons_shading.c b/source/blender/src/buttons_shading.c index dfcbfe50e78..8efc58b0049 100644 --- a/source/blender/src/buttons_shading.c +++ b/source/blender/src/buttons_shading.c @@ -1172,7 +1172,7 @@ static void texture_panel_colors(Tex *tex) uiBlockBeginAlign(block); uiDefButF(block, NUMSLI, B_TEXPRV, "Bright", 10,10,150,20, &tex->bright, 0.0, 2.0, 0, 0, "Changes the brightness of the colour or intensity of a texture"); - uiDefButF(block, NUMSLI, B_TEXPRV, "Contr", 160,10,150,20, &tex->contrast, 0.01, 2.0, 0, 0, "Changes the contrast of the colour or intensity of a texture"); + uiDefButF(block, NUMSLI, B_TEXPRV, "Contr", 160,10,150,20, &tex->contrast, 0.01, 5.0, 0, 0, "Changes the contrast of the colour or intensity of a texture"); } |