Search Unity

  1. Curious about what's going to be in 2020.1? Have a look at the 2020.1 beta blog post.
    Dismiss Notice
  2. Want to see 2020.1b in action? Sign up for our Beta 2020.1 Overview Webinar on April 20th for a live presentation from our evangelists and a Q&A session with guests from R&D.
    Dismiss Notice
  3. Interested in giving us feedback? Join our online research interviews on a broad range of topics and share your insights with us.
    Dismiss Notice
  4. New Unity Live Help updates. Check them out here!

    Dismiss Notice

unity3d 5.11F1 StructuredBuffer<float2> bug...

Discussion in '5.2 Beta' started by yty, Aug 11, 2015.

  1. yty

    yty

    Joined:
    Aug 10, 2009
    Posts:
    69
    As follows, using StructuredBuffer <float2>, sampling can not be used tex2D...

    StructuredBuffer<float2> _ColorCoords;

    _ColorCoords[0].x = 0;
    _ColorCoords[0].y = 0;
    tex2D (_ColorTex,float2(_ColorCoords[0].x,_ColorCoords[0].y)); //bug The result is transparent
     
unityunity