diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-02-26 01:30:50 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-02-26 01:30:50 +0300 |
commit | 7708012b9daddbbdc6bb949f9610537754db3887 (patch) | |
tree | c0cf49e807c9491375cdde3743d86b4c0202e252 /source/blender/makesrna | |
parent | 22ab4e6e13ebaabe3960af539e46a5bdfaf9f877 (diff) |
Change samples variable for SSAO - now it is actual samples, not squared
- spiral scheme is much more intuitive here. Also use float number for
spirals to avoid having samples on the same radial direction when sample
number is divisible by spiral number.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_scene.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index c5eed3ff18c..13350f653b8 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -3903,8 +3903,8 @@ static void rna_def_gpu_ssao_fx(BlenderRNA *brna) RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL); prop = RNA_def_property(srna, "samples", PROP_INT, PROP_NONE); - RNA_def_property_ui_text(prop, "Samples", "Number of samples (final number is squared)"); - RNA_def_property_range(prop, 1, 30); /* 0 is needed for compression. */ + RNA_def_property_ui_text(prop, "Samples", "Number of samples"); + RNA_def_property_range(prop, 1, 500); RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL); prop = RNA_def_property(srna, "color", PROP_FLOAT, PROP_COLOR_GAMMA); |