Shaders work fine on desktop+android+playbook, but not on iOS
hi, i'm attempting apply shaders images app. works great on desktop, on android devices, , on blackberry playbook. on ipad, not work @ all.
sample:
[embed(source="filter.pbj", mimetype="application/octet-stream")]
private var filterkernel:class;
private var shader1:shader = new shader( new filterkernel); private var sfilter1:shaderfilter = new shaderfilter( shader1 ); image1.filters = [ sfilter1 ]; at first, thought maybe ios had problem embedding filter.pbj, tried built-in filter (colormatrix). didn't work, either. no effect on image @ all. so thought maybe problem applying these filters @ run-time, set embedded (custom) filter mxml - didn't work. however: tried same method colormatrix (built-in filter), , applied image @ start-up! if took away filter , tried re-apply @ runtime, nothing @ all. my question this: has else had type of problem shaders or shaderfilters flex on ios before? the fact built-in filters don't cooperate @ runtime either leads me believe isn't embed problem or pbj-related issue, btw. redrawing image once the filter has been applied creating new project , trying out filter (in case settings got messed up) any on appreciated.
message edited by: exodark
so no 1 has ever tried using shaders in ios?
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment