[orx-fx] Fix FrameBlur
This commit is contained in:
@@ -30,8 +30,7 @@ class FrameBlur : Filter(mppFilterShader(fx_frame_blur, "frame-blur")) {
|
|||||||
|
|
||||||
if (intermediate == null) {
|
if (intermediate == null) {
|
||||||
intermediate = colorBuffer(target[0].width, target[0].height, type = ColorType.FLOAT16)
|
intermediate = colorBuffer(target[0].width, target[0].height, type = ColorType.FLOAT16)
|
||||||
//intermediate?.fill(ColorRGBa.TRANSPARENT)
|
intermediate?.fill(ColorRGBa.TRANSPARENT)
|
||||||
TODO("no mpp colorbuffer.fill")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
super.apply(arrayOf(source[0], intermediate!!), arrayOf(intermediate!!))
|
super.apply(arrayOf(source[0], intermediate!!), arrayOf(intermediate!!))
|
||||||
|
|||||||
Reference in New Issue
Block a user