# Chromakey with shadertoy example

**URL:** <https://discourse.processing.org/t/chromakey-with-shadertoy-example/17378>\
**Category:** Coding Questions\
**Created:** [January 27, 2020, 4:37pm UTC](https://discourse.processing.org/t/chromakey-with-shadertoy-example/17378 "2020-01-27T16:37:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hbarone](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/hbarone/32/7942_2.png) [@hbarone](https://discourse.processing.org/u/hbarone)\
**Post date:** [January 27, 2020, 4:37pm UTC](https://discourse.processing.org/t/chromakey-with-shadertoy-example/17378/1 "2020-01-27T16:37:59Z")

</div>

I’m try to addapt the shadertoy chromakey example to p5 with webcam as video source.  
After many time reading documentations of shaders my code seems not working. I need some help

[ShaderToy Chroma Key](https://www.shadertoy.com/view/MlVXWD)

[My test](https://glitch.com/~chromakey-test)

---

<div class="post-metadata">

**Author:** ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)\
**Post date:** [March 23, 2022, 4:42pm UTC](https://discourse.processing.org/t/chromakey-with-shadertoy-example/17378/2 "2022-03-23T16:42:13Z")

</div>

@hbarone

Have you ever been successful?
