Здравствуйте. Вопрос такой. Имею шейдер filter.pbj. Применяю этот фильтр в качестве blendShader для клипа. Мне необходимо кроме задаваемых по умолчанию 2-ух первых input-ов, задать третий (BitmapData во флеш)Читаю в доках
Цитата:
|
When you use a shader as a blend mode, the shader must be defined with at least two inputs. As the example shows, you do not set the input values in your code. Instead, the two blended images are automatically used as shader inputs. The foreground image is set as the second image. (This is the display object to which the blend mode is applied.) A background image is created by taking the composite of all the pixels behind the foreground image’s bounding box. This background image is set as the first input image. If you use a shader that expects more than two inputs, you provide a value for any input beyond the first two.
|
Добавлено через 4 часа 16 минут
................
Похоже это проблема CS4, коим я пользуюсь. Так что можно вопрос снимать.