Skip to main content
Participant
April 18, 2015
Question

iOS + Shader (pbj) = Error #2004

  • April 18, 2015
  • 1 reply
  • 247 views

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


This topic has been closed for replies.

1 reply

Participant
April 28, 2015

Adobe AIR‌ any input on this?