hi all,
i’ve a code that creates a shadow of objects using “filter.blurGaussian”.
i use display.save to create a temp file of the blurred image. if i use the blurred image it will slow down the device…so using the temp file will not slow down the device.
the problem is in some old device (tested on a “old” 3-year samsung with android 4.2.2) it will not create the shadow effect. it will create a white image. in rest of the devices i tested from android 5 to 7 it will show a perfect shadow. ios all ok also.
i tried using “filter.blur” in the old device and it worked fine so i guess is “filter.blurGaussian” that is messing up.
filter.blur is very limited so i want to use it only if can’t use the more capable “filter.blurGaussian”.
my question is. is there a way to detect if a device is capable of using the “filter.blurGaussian”?
i can use system.getInfo( “gpuSupportsHighPrecisionFragmentShaders” ) for some filters, but in the documents they don’t say about “filter.blurGaussian”.
regards,
carlos.