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:
authorCampbell Barton <ideasman42@gmail.com>2012-05-09 14:48:24 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-09 14:48:24 +0400
commit385e5eb92edab8d8a50941c457dee971185c7af3 (patch)
treeeeb740ced34ccbee41fa8266e53a6e336e18a713 /source/blender/render/intern/include/texture.h
parenta2ed2b36f3ba2abfb2f473dfde2a9e20d01ad96d (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.h2
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;