From 9622dace3e23a8eddaa0c443030120072a4a6482 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Mon, 20 Jun 2022 17:10:27 +0200 Subject: Cleanup: removed unused Blender Internal bump/normal mapping texture code The TexResult.nor output does not appear to be used anywhere. --- source/blender/render/RE_texture.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'source/blender/render/RE_texture.h') diff --git a/source/blender/render/RE_texture.h b/source/blender/render/RE_texture.h index be50eacd7bf..a4e30c917d5 100644 --- a/source/blender/render/RE_texture.h +++ b/source/blender/render/RE_texture.h @@ -44,8 +44,6 @@ bool RE_texture_evaluate(const struct MTex *mtex, * \param fact: Texture strength. * \param facg: Button strength value. */ -void texture_rgb_blend( - float in[3], const float tex[3], const float out[3], float fact, float facg, int blendtype); float texture_value_blend(float tex, float out, float fact, float facg, int blendtype); void RE_texture_rng_init(void); @@ -89,7 +87,6 @@ typedef struct TexResult { float trgba[4]; /* Is actually a boolean: When true -> use alpha, false -> set alpha to 1.0. */ int talpha; - float *nor; } TexResult; /* This one uses nodes. */ -- cgit v1.2.3