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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2018-09-30 12:19:04 +0300
committerAntonioya <blendergit@gmail.com>2018-09-30 12:49:02 +0300
commitf1afa6f6a71220fefcd3d967f261edd6ad93a43a (patch)
tree0e8fc19a9089a0434fdad495613a5075e92ea315 /release/scripts/startup
parentd9f6fdae4b5ae0475f0cbc8114a87b3be21739db (diff)
GP: implement Shadow FX (wip)
Initial implementation of effect to create a drop shadow of the strokes
Diffstat (limited to 'release/scripts/startup')
-rw-r--r--release/scripts/startup/bl_ui/properties_data_shaderfx.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_shaderfx.py b/release/scripts/startup/bl_ui/properties_data_shaderfx.py
index 6725d354b2b..d56e5cc4782 100644
--- a/release/scripts/startup/bl_ui/properties_data_shaderfx.py
+++ b/release/scripts/startup/bl_ui/properties_data_shaderfx.py
@@ -100,6 +100,28 @@ class DATA_PT_shader_fx(ShaderFxButtonsPanel, Panel):
layout.prop(fx, "blur")
layout.prop(fx, "samples")
+ def FX_SHADOW(self, layout, fx):
+ layout.prop(fx, "offset", text="Offset")
+
+ layout.prop(fx, "shadow_color")
+ layout.prop(fx, "scale")
+ layout.prop(fx, "rotation")
+
+ layout.separator()
+ layout.prop(fx, "use_object", text="Use object as pivot")
+ if fx.use_object:
+ row = layout.row()
+ row.prop(fx, "object", text="Object")
+
+ layout.separator()
+ layout.prop(fx, "use_wave", text="Use Wave effect")
+ if fx.use_wave is True:
+ row = layout.row(align=True)
+ row.prop(fx, "orientation", expand=True)
+ layout.prop(fx, "amplitude")
+ layout.prop(fx, "period")
+ layout.prop(fx, "phase")
+
def FX_SWIRL(self, layout, fx):
layout.prop(fx, "object", text="Object")