tree: d15ac000b850814947ebd42db5e0627a918d76b8 [path history] [tgz]
  1. client/
  2. service/
  3. BUILD.gn
  4. README.md
src/ui/examples/shadertoy/README.md

Scenic Shadertoy example

This example consists of two parts:

  • a service which:
    • accepts shader code fragments from clients
    • renders images using this shader code
    • presents these images by acting as the client/producer end of a Scenic image pipe
  • a client which connects to both Scenic and the Shadertoy service:
    • provide GLSL code to the service
    • request server/consumer end of an image pipe from the service
    • pass the server/consumer end of the image pipe to Scenic, to embed it at the desired place in the scene graph