You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I write fragment func like this
function fragment(tex0:Texture, tex1:Texture, tex2:Texture, tex3:Texture)
but the problem is I don't the exact number of textures will used here
currently I uploaded 8 tex with some empty bitmapdata textures
but in agal I can dynamically make the agal opcode string to achieve this
for (var x:int;i < textureCount;i++){
"tex " + ftColor + "," + + "," + fsList[i] + "<2d,repeat,miplinear,linear>",
}
I write fragment func like this
function fragment(tex0:Texture, tex1:Texture, tex2:Texture, tex3:Texture)
but the problem is I don't the exact number of textures will used here
currently I uploaded 8 tex with some empty bitmapdata textures
but in agal I can dynamically make the agal opcode string to achieve this
for (var x:int;i < textureCount;i++){
"tex " + ftColor + "," + + "," + fsList[i] + "<2d,repeat,miplinear,linear>",
}
The thing I wanna achieve is similar like this:
http://blog.flash-core.com/?p=493
here's the google group thread
https://groups.google.com/forum/#!topic/haxelang/CF4ibEta5x4
The text was updated successfully, but these errors were encountered: