dynamically changing material to reveal a texture below

hey guys,

this may seem weird to some or a little old school to others but here goes.

I’m trying to create a similar effect to the paint found in mario sunshine, in that game the player would be faced with a level covered in paint and when they sprayed water particles on this paint it would fade away and reveal the texture below.

now to do this nentendo appeared to create what they called paint maps, these would encompass the entire level and be black and white, black representing no paint and white representing paint. now when the player sprayed the paint in the game this would obviously change parts of the map from white to black.

My question is how can i replicate this in UE4. ive tried everything i can think of and nothing makes any difference. ideally i want to try and keep this as blueprints and have already worked in LOD’s, a fully controlled character, level streaming and materials that even make use of world space, i could really use some help and anything would be appreciated,

thanks

Hi Gravzer333,

A great place to start would be with examples 1.8 & 1.9 in the Math_Hall level of the Example Content. A Lerp is used to blend between two textures.

I hope that helps you get on the right track.
TJ

thank you so much, this is so helpful i cannot tell you, i keep forgetting that i can use the examples to get me going in the right direction, ill keep adding to this to show how it develops should anybody else want to create this effect.