Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/blender/addon/properties.py
| Show First 20 Lines • Show All 393 Lines • ▼ Show 20 Lines | def register(cls): | ||||
| min=0.0, max=10.0, | min=0.0, max=10.0, | ||||
| default=1.0, | default=1.0, | ||||
| ) | ) | ||||
| cls.film_transparent = BoolProperty( | cls.film_transparent = BoolProperty( | ||||
| name="Transparent", | name="Transparent", | ||||
| description="World background is transparent with premultiplied alpha", | description="World background is transparent with premultiplied alpha", | ||||
| default=False, | default=False, | ||||
| ) | ) | ||||
| cls.film_transparent_roughness = FloatProperty( | |||||
| name="Transparency Roughness Threshold", | |||||
| description="If enabled, paths hitting the world background after interacting with glass that's below this roughness " | |||||
| "will be transparent (disabled at 0)", | |||||
| min=0.0, max=1.0, | |||||
| default=0.0, | |||||
| ) | |||||
| # Really annoyingly, we have to keep it around for a few releases, | # Really annoyingly, we have to keep it around for a few releases, | ||||
| # otherwise forward compatibility breaks in really bad manner: CRASH! | # otherwise forward compatibility breaks in really bad manner: CRASH! | ||||
| # | # | ||||
| # TODO(sergey): Remove this during 2.8x series of Blender. | # TODO(sergey): Remove this during 2.8x series of Blender. | ||||
| cls.filter_type = EnumProperty( | cls.filter_type = EnumProperty( | ||||
| name="Filter Type", | name="Filter Type", | ||||
| description="Pixel filter type", | description="Pixel filter type", | ||||
| ▲ Show 20 Lines • Show All 1,049 Lines • Show Last 20 Lines | |||||