[Bf-extensions-cvs] [ff32461] master: Add emission to the blob material to make it slightly more visible.

Lukas Tönne noreply at git.blender.org
Tue Dec 9 12:40:13 CET 2014


Commit: ff3246128bf994fe0a522f8069b86f7ee4b3755d
Author: Lukas Tönne
Date:   Tue Dec 9 12:21:06 2014 +0100
Branches: master
https://developer.blender.org/rBACff3246128bf994fe0a522f8069b86f7ee4b3755d

Add emission to the blob material to make it slightly more visible.

===================================================================

M	object_physics_meadow/blob.py

===================================================================

diff --git a/object_physics_meadow/blob.py b/object_physics_meadow/blob.py
index 61e6334..9996091 100644
--- a/object_physics_meadow/blob.py
+++ b/object_physics_meadow/blob.py
@@ -103,6 +103,8 @@ def get_blob_material(context):
     # setup new blob material
     ma = materials.new(_blob_object_name)
     ma.use_object_color = True
+    # make the material stand out a bit more using emission
+    ma.emit = 1.0
     return ma
 
 # assign sample to a blob, based on distance weighting



More information about the Bf-extensions-cvs mailing list