Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting renderer.setValue('inputImage', image) results in black image #22

Open
emolr opened this issue Aug 27, 2019 · 3 comments
Open

Comments

@emolr
Copy link

emolr commented Aug 27, 2019

I've been trying to use ISF on stackblitz.
You can see my code here: https://stackblitz.com/edit/typescript-akptnb?file=index.ts

It seems like the Renderer works as it adds the shader to the canvas, but the image doesn't appear.

I tried to run this repository locally with the webcam started, but I'm getting the same result.

Screenshot:
Screenshot 2019-08-27 at 12 34 31

I hope someone can help me as i really like this library and it's simplicity :)

All the best,
Emil

@msfeldstein
Copy link
Owner

msfeldstein commented Aug 27, 2019 via email

@cale-bradbury
Copy link
Contributor

cale-bradbury commented Jan 18, 2024

Hella late, but heads up that this is fixed by calling renderer.pushTextures() after setting the texture to inputImage
image

@cale-bradbury
Copy link
Contributor

Made a little pr to add this to the README

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants