<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div class="h5">
&gt; I think, instead of rendering every layer, it is better to use<br>
&gt; COMPOSITE_ALPHA_DARKEN for impasto channel. It&#39;ll be much cheaper. In such a<br>
&gt; case, the final impasto value of the point on projection will be equal to<br>
&gt; the value of the most opaque layer.<br>
<br>
</div></div>No, that doesn&#39;t work well, as I explained:<br>
<div class="im">&gt; That technique has obvious problems, since it effectively amounts to<br>
&gt; carving an alpha-mask-shaped hole in the underlying layers&#39; impasto,<br>
&gt; rather than letting the layer as a whole float above the layers beneath.<br></div></blockquote><div><br>Well, maybe I don&#39;t understand something... I meant the following:<br>* every layer has an impasto channel<br>
* let&#39;s have three layers:<br><br>Layer1: alpha=transparent; impasto=100;<br>Layer2: alpha=opaque; impasto=125;<br>Layer3: alpha=transparent; impasto=50;<br><br>The result impasto value will be: 125<br><br>Isn&#39;t it what expected?<br>
 </div><div> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
</div>
(Also, it lets you do things like assign different materials to each<br>
layer. Different light source, even, though I don&#39;t know why you would<br>
want to do that. But I could see different materials.)<br></blockquote></div><br>Yeah, different material is a good point for per-layer impasto.<br><br>PS:<br>Btw, if we manage to implement impasto as a filter, per-layer impasto will be easily achieved with a usual Filter Mask.<br>
<br><br>-- <br>Dmitry Kazakov<br>