Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

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:
    83
    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