forked from bartvdbraak/blender
50d6067f4e
* Fix caustic properties, was not updated. * Remove wrong items, leftovers from panel splitting. * Add missing items. Even if the bundled presets do not set those, a user expects that all properties inside the panel are taken into account, when adding a new preset.
14 lines
353 B
Python
14 lines
353 B
Python
import bpy
|
|
cycles = bpy.context.scene.cycles
|
|
|
|
cycles.max_bounces = 128
|
|
cycles.min_bounces = 3
|
|
cycles.caustics_reflective = True
|
|
cycles.caustics_refractive = True
|
|
cycles.diffuse_bounces = 128
|
|
cycles.glossy_bounces = 128
|
|
cycles.transmission_bounces = 128
|
|
cycles.volume_bounces = 128
|
|
cycles.transparent_min_bounces = 8
|
|
cycles.transparent_max_bounces = 128
|