~/talk

Shaders are awesome

Talkat droidcon London 2025 · 2025-10-30..10-31· [creative-coding]
slides:none on file

Shows how to use RuntimeShader with AGSL and SKSL to write fragment shaders for Compose Multiplatform UIs, using uniforms like resolution and time and UV coords to build effects. Covers concrete examples: a gray-to-white gradient, an animated sine color via a time uniform fed from produceState, and an SDF circle (add/subtract circles for holes). Notes: AGSL uses top‑left origin, alpha is last component, no recursion or pointers, watch float precision over long runs, and compiled shaders become SPIR‑V so debugging and logging are limited.

AI-written summary · about

  1. 0:00Welcome
  2. 0:25Fragment shaders power
  3. 1:28Shader languages SKSL AGSL
  4. 2:52Shader structure pixel coords
  5. 3:39Vector types RGBA output
  6. 5:47Uniforms resolution param
  7. 6:52UV coordinates normalized
  8. 7:12Animating with time uniform
  9. 8:55Circle with SDFs
  10. 12:28SDFs for complex shapes
  11. 13:13Closing resources
  12. 14:15Q&A
~/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.