From ceb3225db77c5a86b8cb8cce555251c1dffdd033 Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Mon, 25 Mar 2013 01:00:16 +0000 Subject: Alpha mask textures porting part 1: Support for projective texturing. Also add random mapping to brushes. --- source/blender/blenkernel/BKE_brush.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/blenkernel/BKE_brush.h') diff --git a/source/blender/blenkernel/BKE_brush.h b/source/blender/blenkernel/BKE_brush.h index e0afb1929a5..e123a0a94c0 100644 --- a/source/blender/blenkernel/BKE_brush.h +++ b/source/blender/blenkernel/BKE_brush.h @@ -78,6 +78,8 @@ float BKE_brush_sample_tex_3D(const Scene *scene, struct Brush *br, const float float rgba[4], const int thread, struct ImagePool *pool); float BKE_brush_sample_tex_2D(const struct Scene *scene, struct Brush *brush, const float xy[2], float rgba[4]); +float BKE_brush_sample_masktex (const Scene *scene, struct Brush *br,const float point[3], + const int thread, struct ImagePool *pool); void BKE_brush_imbuf_new(const struct Scene *scene, struct Brush *brush, short flt, short texfalloff, int size, struct ImBuf **imbuf, int use_color_correction); -- cgit v1.2.3