- Forked from:
- codeonwort's AGAL gaussian blur
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.
- forked:1
- favorite:3
- lines:191
- license : MIT License
- modified : 2011-10-28 00:17:02
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 :(
- by
codeonwort
- at 2011/10/28 15:23:52
halfmile
:
AGAL 实现的模糊效果


