Hi.
I get ColorImage from Kinect and set it to a texture2D
and i can use it as mainTexture for render object , like a cube or a plane.
but when i try to draw that texture in GUI with GUI.DrawTexture() it draw’s nothing !!!
i use DecodePNG method to save it as a png file but that file only could be shown in unity.no other applicatian can open that, not even photoshop !
here is the image
1072888–40074–$KinectOutput.zip (585 KB)
PS:
I also want to know why 2DTexture(AttachedImage) does not drawn in GUI but works fine when set as MainTexture.You can see it for yourself. just take a look at the Attached Image.