diff options
author | Antonioya <blendergit@gmail.com> | 2018-10-10 23:52:55 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-10-11 00:00:56 +0300 |
commit | c2519d8521687a802ce6cb6e9ca2e973693cf9a4 (patch) | |
tree | 27e20c8ed90d868de47ce1de8ab340b485e53751 /release/scripts/startup/bl_ui | |
parent | d29f98e3f2a526d5dd13694c01aa27c4b81283fd (diff) |
GP: New Glow Shader FX (wip)
New shader to simulate a glow of the color.
The glow can be generated by luminance threshold or using a selection color.
Diffstat (limited to 'release/scripts/startup/bl_ui')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_shaderfx.py | 13 |
1 files changed, 13 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 fdb962aab68..8b4bd03bc6d 100644 --- a/release/scripts/startup/bl_ui/properties_data_shaderfx.py +++ b/release/scripts/startup/bl_ui/properties_data_shaderfx.py @@ -125,6 +125,19 @@ class DATA_PT_shader_fx(ShaderFxButtonsPanel, Panel): layout.prop(fx, "period") layout.prop(fx, "phase") + def FX_GLOW(self, layout, fx): + layout.prop(fx, "mode") + layout.prop(fx, "glow_color") + if fx.mode == 'LUMINANCE': + layout.prop(fx, "threshold") + else: + layout.prop(fx, "select_color") + + layout.separator() + layout.prop(fx, "radius") + layout.prop(fx, "samples") + layout.prop(fx, "use_alpha_mode", text="Use alpha mode") + def FX_SWIRL(self, layout, fx): layout.prop(fx, "object", text="Object") |