Revision 51be198f
Added by Leszek Koltunski almost 7 years ago
src/main/java/org/distorted/library/DistortedNode.java | ||
---|---|---|
259 | 259 |
|
260 | 260 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
261 | 261 |
|
262 |
int markStencilAndDraw(long currTime, DistortedOutputSurface surface, int quality, float marginInPixels)
|
|
262 |
int markStencilAndDraw(long currTime, DistortedOutputSurface surface, int quality) |
|
263 | 263 |
{ |
264 | 264 |
DistortedInputSurface input = mNumChildren[0]==0 ? mSurface : mData.mFBO; |
265 | 265 |
|
... | ... | |
273 | 273 |
// Mark area of our object + marginInPixels pixels around with 1s in Stencil buffer |
274 | 274 |
buffer2.setAsOutput(currTime); |
275 | 275 |
DistortedRenderState.setUpStencilMark(); |
276 |
mEffects.drawPriv(w, h, mMesh, buffer2, currTime, marginInPixels);
|
|
276 |
mEffects.drawPriv(w, h, mMesh, buffer2, currTime, EffectQueuePostprocess.MAX_BLUR*buffer2.mMipmap);
|
|
277 | 277 |
|
278 | 278 |
// Actually draw our object. |
279 | 279 |
buffer1.setAsOutput(currTime); |
Also available in: Unified diff
minor