Sahil Bajaj
11/23/2021, 6:28 AMoverride suspend fun Container.sceneMain() {
    val filterContainer = ClipContainer()
    filterContainer.setSize(400.0, 600.0)
    filterContainer.pos = Point(100.0, 100.0)
    this.addChild(filterContainer)
    val image = Image(resourcesVfs["test_image.jpg"].readBitmap().slice())
    image.setSize(400.0, 600.0)
    filterContainer.addChild(image)
    val filter = LUTFilter("underwater.png")
    filterContainer.addFilter(filter)
}
Attaching the screenshots  (when translation is 0,0).. and with incorrect cropping (when translation is 100,100)Sahil Bajaj
12/13/2021, 9:07 AMDeactivated User
12/13/2021, 2:15 PMSahil Bajaj
12/13/2021, 2:49 PM