diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-01-28 14:40:38 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-01-28 14:40:38 +0300 |
commit | 72cb4548a76dba3fc39c0d8bb36e65f115d0ab22 (patch) | |
tree | 0602e02c63bf5ffe19c465bde0d5c8e10d20f0e5 /source/blender/render | |
parent | a2372d43122ea5741acc897dc4cc067bc487791f (diff) |
Fix #20223: texture stencil does not work on normal.
Diffstat (limited to 'source/blender/render')
-rw-r--r-- | source/blender/render/intern/source/texture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/source/texture.c b/source/blender/render/intern/source/texture.c index 6aacf99a074..1655418111a 100644 --- a/source/blender/render/intern/source/texture.c +++ b/source/blender/render/intern/source/texture.c @@ -1836,7 +1836,7 @@ void do_material_tex(ShadeInput *shi) TexResult ttexr = {0, 0, 0, 0, 0, texres.talpha, NULL}; // temp TexResult float tco[3], texv[3], cd, ud, vd, du, dv, idu, idv; const int fromrgb = ((tex->type == TEX_IMAGE) || ((tex->flag & TEX_COLORBAND)!=0)); - const float bf = 0.04f*Tnor*mtex->norfac; + const float bf = 0.04f*Tnor*stencilTin*mtex->norfac; // disable internal bump eval float* nvec = texres.nor; texres.nor = NULL; |