diff options
Diffstat (limited to 'source/blender/makesdna/DNA_shader_fx_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_shader_fx_types.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_shader_fx_types.h b/source/blender/makesdna/DNA_shader_fx_types.h index 3884f72fb56..7c138f21887 100644 --- a/source/blender/makesdna/DNA_shader_fx_types.h +++ b/source/blender/makesdna/DNA_shader_fx_types.h @@ -45,6 +45,7 @@ typedef enum ShaderFxType { eShaderFxType_Rim = 7, eShaderFxType_Colorize = 8, eShaderFxType_Shadow = 9, + eShaderFxType_Glow = 10, NUM_SHADER_FX_TYPES } ShaderFxType; @@ -127,6 +128,27 @@ typedef enum eFlipShaderFx_Flag { FX_FLIP_VERTICAL = (1 << 1), } eFlipShaderFx_Flag; +typedef struct GlowShaderFxData { + ShaderFxData shaderfx; + float glow_color[3]; + float select_color[3]; + float threshold; + int flag; /* flags */ + int mode; + int blur[2]; + int samples; + ShaderFxData_Runtime runtime; +} GlowShaderFxData; + +typedef enum GlowShaderFxModes { + eShaderFxGlowMode_Luminance = 0, + eShaderFxGlowMode_Color = 1, +} GlowShaderFxModes; + +typedef enum eGlowShaderFx_Flag { + FX_GLOW_USE_ALPHA = (1 << 0), +} eGlowShaderFx_Flag; + typedef struct LightShaderFxData { ShaderFxData shaderfx; struct Object *object; |