Skip to main content

Questions tagged [agal]

AGAL is the Adobe Graphics Assembly Language, a low-level shader assembly language for Stage3D (Flash and Adobe Air).

Filter by
Sorted by
Tagged with
0 votes
1 answer
689 views

Stage3D Agal Anti-Aliasing

I created an engine which draws 2D planes in the Stage3D API in Actionscript 3. And my question is, how do I turn all anti-aliasing off, because when I scale it all the pixels get really blurry, and I'...
tversteeg's user avatar
  • 451
4 votes
1 answer
708 views

How to properly render a Frame Buffer to the BackBuffer in Stage3D / AGAL

After doing a render pass with RenderToTarget (RTT), how do you properly render that texture buffer to the screen while maintaining original scale / proportions so it doesn't stretch or lose quality? ...
chamberlainpi's user avatar
3 votes
2 answers
2k views

Which is worst: Too many VertexShader instructions, or FragmentShader instructions?

I want to have a better understanding of how to create shaders with optimal performance and realize where some bottlenecks can occur. Is it usually favorable (when possible) to delegate most of the ...
chamberlainpi's user avatar
4 votes
0 answers
438 views

How is Ping-Ponging done in Stage3D & AGAL (Flash Player 11)

Does anyone know how to create a Texture feedback effect in Stage3D / AGAL? I've just found the term "ping-ponging" in some GPU wikipage, hopefully I'm using it in the right place! I'll share with ...
chamberlainpi's user avatar
-1 votes
2 answers
455 views

Could a large number, such as 255.000255 be converted to it's RGB channels in a Shader language?

If I had a Vertex Shader constant holding one float value, like: 255.000255 Where: The first 3 numbers are actually red (255), next three are green (000), then ...
chamberlainpi's user avatar