Hello,
For a 2D game, I have a tile map, each tile representing a portion of a bas-relief pattern by use of a grey scale, and/or alpha channel. What I want to do is combine this with a texture pattern, such as marble, to get a bas-relief marble (or whatever) effect. This also includes transparent sections where the background shows through.
Thing is, I can’t really suss out how to do it. What I need is something like combining the colours from the texture pattern with the alpha channel from the tile set.
I suppose I could make all these tiles in a paint package but then I’d have to do a set for every level, rather than just combining a tile set & texture on the fly. I also like having the texture repeat at a larger scale than the tile size (48*48 ).
Any ideas? Cheers.
