Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cream.py « sss « presets « scripts « release - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c03cc0243d949b05caaf475ec29923c6797e14b1 (plain)
1
2
3
4
5
import bpy
material = (bpy.context.material.active_node_material if bpy.context.material.active_node_material else bpy.context.material)

material.subsurface_scattering.radius = 15.028, 4.664, 2.541
material.subsurface_scattering.color = 0.987, 0.943, 0.827