diff options
author | Antonioya <blendergit@gmail.com> | 2018-09-30 12:19:04 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-09-30 12:49:02 +0300 |
commit | f1afa6f6a71220fefcd3d967f261edd6ad93a43a (patch) | |
tree | 0e8fc19a9089a0434fdad495613a5075e92ea315 /release/scripts/startup | |
parent | d9f6fdae4b5ae0475f0cbc8114a87b3be21739db (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.py | 22 |
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") |