By lmbarns
on Wed, 05/22/2013 - 19:50
I need to use grayscale camera effects in Unity but track a color target..........I got it working as grayscale but it's not tracking my targets anymore. Should I leave the camera in color and use a second camera to do the grayscale effect and not have the Qcar camera showing a background feed?
Thanks,
Disregard target color?
Take a look at our Unity Background Texture Access sample - https://developer.vuforia.com/resources/sample-apps/background-texture-access-sample-app
Disregard target color?
Looks good but I need the normal grayscale and not inverted. Any simple way to do that?
Disregard target color?
Check Unity Answer or their forum for some options - e.g. http://answers.unity3d.com/questions/31823/how-do-i-make-a-texture-turn-greyscael.html
Disregard target color?
Thanks David, I was looking at that and tried just swapping out the shader in the example with a plain grayscale one but it didn't work, maybe it was just the shader I tried.
Disregard target color?
I think that you should be able to simply replace the NegativeGrayScale shader on the NegativeGrayScale material.
Disregard target color?
Epic, thank you so much. Works like a charm :)