forked from bartvdbraak/blender
a9ba96896a
- SSS Presets were not working on pinned materials. - added ability for save-presets to define variables to stop them becoming too verbose. - remove object.active_node_material
6 lines
258 B
Python
6 lines
258 B
Python
import bpy
|
|
material = (bpy.context.material.active_node_material if bpy.context.material.active_node_material else bpy.context.material)
|
|
|
|
material.subsurface_scattering.radius = 14.266, 7.228, 2.036
|
|
material.subsurface_scattering.color = 0.855, 0.740, 0.292
|