~/talk

Demystifying Pixel Shaders (AGSL)

Talkat Android Worldwide October 2023 · on Friday, 2023-10-20· [android, creative-coding]
links:none on file
slides:none on file

Custom pixel shaders run per pixel on the GPU and are now usable in Compose via Android 13’s RuntimeShader; examples include a 10×10 checkerboard driven by uniform float2 iScaling (scale computed from width/DP) and a circle drawn with a distance function plus smoothstep for a 20‑pixel anti‑aliased edge. Animations use a linear two‑second loop forwarded as a uniform (0→1 mapped to angle × 2π). Live coding uses Compose for Desktop with file-watch live reload and a public GitHub sample.

AI-written summary · about

  1. 0:00Pixel shaders and AGSL
  2. 3:45What pixel shaders are
  3. 9:49Shaders in Jetpack Compose
  4. 14:55Drawing with distance functions
  5. 25:06Animating shaders with uniforms
  6. 28:45Shader compatibility across platforms
  7. 30:54Live coding shaders
  8. 37:35AGSL learning curve
  9. 40:48Q&A on shaders
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.