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

Custom shaders for SKVideoNode #4

Closed
alexfoxy opened this issue Dec 19, 2017 · 1 comment
Closed

Custom shaders for SKVideoNode #4

alexfoxy opened this issue Dec 19, 2017 · 1 comment

Comments

@alexfoxy
Copy link

Hi,

I'm planning on using SpriteKit for an app but I noticed they don't allow custom shaders / filters for the SKVideoNode class.

Upon Googling I came across your custom library for SceneKit and noticed you have written your own video texture implementation. Does this allow you to apple custom GL shaders to videos and do you think it would be possible to port your video texture implementation to work with SpriteKit?

Thanks!

Alex

@gsabran
Copy link
Owner

gsabran commented Jan 4, 2018

Hi Alex,

Yes you can apply custom shaders to videos using DDDKit. That was my main motivation since it was not working or buggy on SceneKit and SpriteKit when I needed it. The downside is that it's either one or the other library and I don't see a solution for using a bit of both. So if you decide to use DDDKit you'll have to be sure you won't need some of the other nice features SpriteKit has.

I'd say that DDDKit works well for simple displays. I've used it mainly for 360 videos. If you've a complex scene to render I'd do a toy project to test the potential before committing to using the framework.

@gsabran gsabran closed this as completed Dec 30, 2018
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

2 participants