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

Reading only color frame #20

Closed
xubi1993 opened this issue Sep 7, 2020 · 3 comments
Closed

Reading only color frame #20

xubi1993 opened this issue Sep 7, 2020 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@xubi1993
Copy link

xubi1993 commented Sep 7, 2020

Hello,
Great asset, works very well but can you guide me how can I get the 2D camera color image inside the vfx graph. Here it computes the depth frame and depth color frame. I just want a normal color frame with no depth. How can I compute that. Is is even possible? Sorry I am not very good with shaders. Any help will be much appreciated.

Regards,
Zubair

@keijiro keijiro self-assigned this Sep 7, 2020
@keijiro keijiro added the question Further information is requested label Sep 7, 2020
@keijiro
Copy link
Owner

keijiro commented Sep 7, 2020

You can simply sample the color map using the Sample Texture2D operator.

@keijiro keijiro closed this as completed Sep 7, 2020
@xubi1993
Copy link
Author

xubi1993 commented Sep 8, 2020

I tried it but it does not appear like it does in 3D. It does not create a plane of 2D particles with the image from camera mapped on top of those particles. For example like this: https://www.youtube.com/watch?v=l5mZgdNeZD4

@xubi1993
Copy link
Author

xubi1993 commented Sep 8, 2020

Thanks I got it, I just need to set the UV's right!

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

No branches or pull requests

2 participants