none
Kinect plugin scenes don't work with Unity 5.5 RRS feed

  • Question

  • I tried following the ReadMe.txt that is part of the Kinect plugin at https://go.microsoft.com/fwlink/p/?LinkId=513177 It says:

    9) If you wish to see the Kinect in action there are two sample scenes available from the zip.

    In Unity 5.5, these scenes can't be selected by using Assets > Import New Asset. If I force it by quiting Unity, copying the 'GreenScreen' folder of the download into my Assets folder, and then restart Unity, its Console shows:

    Shader error in 'DX11/GreenScreenShader': Fragment program 'frag': sampler 'SampleType' has no matching texture and will be undefined. (on d3d11) Compiling Fragment program
      Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA

    Wednesday, February 1, 2017 2:48 AM

All replies

  • Try change the code :

    //sampler SampleType;
    sampler sampler_MainTex;

    //o = _MainTex.Sample(SampleType, i.tex);
    o= _MainTex.Sample(sampler_MainTex, i.tex);


    • Edited by Raxvio Friday, March 10, 2017 1:55 PM
    Friday, March 10, 2017 1:46 PM