forked from bartvdbraak/blender
df625253ac
* Add max diffuse/glossy/transmission bounces * Add separate min/max for transparent depth * Updated/added some presets that use these options * Add ray visibility options for objects, to hide them from camera/diffuse/glossy/transmission/shadow rays * Is singular ray output for light path node Details here: http://wiki.blender.org/index.php/Dev:2.5/Source/Render/Cycles/LightPaths
12 lines
273 B
Python
12 lines
273 B
Python
import bpy
|
|
cycles = bpy.context.scene.cycles
|
|
|
|
cycles.max_bounces = 8
|
|
cycles.min_bounces = 8
|
|
cycles.no_caustics = True
|
|
cycles.diffuse_bounces = 0
|
|
cycles.glossy_bounces = 1
|
|
cycles.transmission_bounces = 2
|
|
cycles.transparent_min_bounces = 8
|
|
cycles.transparent_max_bounces = 8
|