diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2011-08-25 00:28:54 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2011-08-25 00:28:54 +0400 |
commit | 7fc26e0123e700113f340068a964c1a12133b7e1 (patch) | |
tree | 50a81047e60a7b8791181fb877915cee2a641ff2 /source/gameengine/Ketsji/BL_Material.h | |
parent | 81a8f3e88592e6a570ab7e2f844c298a320480f5 (diff) |
Committing patch #25675 "Make "Cast Buffer Shadows" option work in viewport and BGE" by me.
Description from the tracker:
"It's really handy to be able to prevent an object/material from casting a shadow. So, I made use of the Cast Buffer Shadows option in the material settings, and made it work in the viewport and the BGE."
Diffstat (limited to 'source/gameengine/Ketsji/BL_Material.h')
-rw-r--r-- | source/gameengine/Ketsji/BL_Material.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/BL_Material.h b/source/gameengine/Ketsji/BL_Material.h index ef25c9218a3..c0440e66501 100644 --- a/source/gameengine/Ketsji/BL_Material.h +++ b/source/gameengine/Ketsji/BL_Material.h @@ -157,7 +157,8 @@ enum BL_ras_mode ALPHA=8, // TRIANGLE=16, USE_LIGHT=32, - WIRE=64 + WIRE=64, + CAST_SHADOW=128 }; // ------------------------------------- |