Hello everyone.<br><br>I want to do something like this [ open spoiler ]:<br><br>
<img title="Image: http://s22.postimg.org/cts0om77l/final.png" alt="" src="http://s22.postimg.org/cts0om77l/final.png"><br>
<br>where level geometry is on the left, and the desired effect is on the right<br><br>So AFAIK I need to setup some texture buffer and shader for the "splatter" thing:<br><br>1) render my visible geometry ( TileMap ) to specific framebuffer as bw mask<br>2) then render the game level normally<br>3) use prev. created framebuffer to do some simple math in shaders to achieve "overlay" effect with decals.<br><br>Is that possible?<br><br>P.S. <br>Maybe it's a general shader question, but I'll post into 2D because I'm dealing with orthogonal stuff.<br><br>