Quantcast
Channel: Adobe Community : Unanswered Discussions - AIR Development
Viewing all articles
Browse latest Browse all 2010

iOS + Shader (pbj) = Error #2004

$
0
0

Hi

 

I am trying to get a Shader included into an iOS app that I am building with Adobe Air.

 

My problem is that I am getting this error on the device:

ArgumentError: Error #2004: One of the parameters is invalid.

at flash.display::ShaderInput/set input()


I should say that running my build through ADL works fine!


The way I am applying the ShaderFilter is via BitmapData applyFilter. I have also tried adding the ShaderFilter directly onto the displayobject via filters.


My setup is this:

PBJ file exported from Pixel Bender.

PBJ file is included in my build through Flex syntax [Embed(source... I've tested this with an image and Embed works fine on iOS.

AIR Version 17.0.0.96 for iOS.

Device: iPad Air 2

Render mode: Direct


Please advice on how to get a ShaderFilter to work on iOS.

 

/felix



Viewing all articles
Browse latest Browse all 2010

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>