diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-05-09 14:48:24 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-05-09 14:48:24 +0400 |
commit | 385e5eb92edab8d8a50941c457dee971185c7af3 (patch) | |
tree | eeb740ced34ccbee41fa8266e53a6e336e18a713 /source/blender/render/intern/include/texture.h | |
parent | a2ed2b36f3ba2abfb2f473dfde2a9e20d01ad96d (diff) |
code cleanup: color/bw conversion - use BLI color function.
change modifier to use the average of the RGB since perceptual conversion isn't really needed for modifiers.
Diffstat (limited to 'source/blender/render/intern/include/texture.h')
-rw-r--r-- | source/blender/render/intern/include/texture.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/render/intern/include/texture.h b/source/blender/render/intern/include/texture.h index 679bd7bcdbf..33717d47c82 100644 --- a/source/blender/render/intern/include/texture.h +++ b/source/blender/render/intern/include/texture.h @@ -54,8 +54,6 @@ &texres->tr, &texres->tg, &texres->tb); \ } \ -#define RGBTOBW(r,g,b) ( r*0.35f + g*0.45f + b*0.2f ) /* keep this in sync with gpu_shader_material.glsl:rgbtobw */ - struct HaloRen; struct ShadeInput; struct TexResult; |