wonderfl - build flash online

AGAL box blur

this works at most boxBlurCount = 3 (line 223).
if boxBlurCount > 3, shader just dies. no error message appears and I don't know why it dies.

codeonwort codeonwort

add to favorites

Embed

Code Fullscreen

Talk

I think you have too much opcodes in fragmentShader(line 243) if boxBlurCount > 3 .
boxBlurCount = 1................35 opcodes
boxBlurCount = 2................92
boxBlurCount = 3................177
boxBlurCount = 4................290

AGAL limits: 200 opcodes per program.
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display3D/Context3D.html

  • by 9balls
  • at 2011/10/28 15:11:56

aha it were not 2000 opcodes :(

Favorite by

halfmile halfmile :

AGAL 实现的模糊效果

Tags

sectKeywords

Forked

ページの先頭へ戻る