{"action":"created","issue":{"url":"https://api.github.com/repos/candycat1992/Unity_Shaders_Book/issues/86","repository_url":"https://api.github.com/repos/candycat1992/Unity_Shaders_Book","labels_url":"https://api.github.com/repos/candycat1992/Unity_Shaders_Book/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/candycat1992/Unity_Shaders_Book/issues/86/comments","events_url":"https://api.github.com/repos/candycat1992/Unity_Shaders_Book/issues/86/events","html_url":"https://github.com/candycat1992/Unity_Shaders_Book/issues/86","id":206769111,"number":86,"title":"P232 序列帧动画-结果和预期不符Bug","user":{"login":"lic1227","id":16720110,"avatar_url":"https://avatars.githubusercontent.com/u/16720110?v=3","gravatar_id":"","url":"https://api.github.com/users/lic1227","html_url":"https://github.com/lic1227","followers_url":"https://api.github.com/users/lic1227/followers","following_url":"https://api.github.com/users/lic1227/following{/other_user}","gists_url":"https://api.github.com/users/lic1227/gists{/gist_id}","starred_url":"https://api.github.com/users/lic1227/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lic1227/subscriptions","organizations_url":"https://api.github.com/users/lic1227/orgs","repos_url":"https://api.github.com/users/lic1227/repos","events_url":"https://api.github.com/users/lic1227/events{/privacy}","received_events_url":"https://api.github.com/users/lic1227/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-02-10T11:09:10Z","updated_at":"2017-02-11T14:10:04Z","closed_at":null,"body":"   要实现的效果应该是从左上角第一个是第一帧，但是当Speed调1时候(降低播放速度)，（随书demo）实际上播放效果是从最底下行开始播放。\r\n请问这是什么原因导致的？谢谢！！"},"comment":{"url":"https://api.github.com/repos/candycat1992/Unity_Shaders_Book/issues/comments/279146054","html_url":"https://github.com/candycat1992/Unity_Shaders_Book/issues/86#issuecomment-279146054","issue_url":"https://api.github.com/repos/candycat1992/Unity_Shaders_Book/issues/86","id":279146054,"user":{"login":"lic1227","id":16720110,"avatar_url":"https://avatars.githubusercontent.com/u/16720110?v=3","gravatar_id":"","url":"https://api.github.com/users/lic1227","html_url":"https://github.com/lic1227","followers_url":"https://api.github.com/users/lic1227/followers","following_url":"https://api.github.com/users/lic1227/following{/other_user}","gists_url":"https://api.github.com/users/lic1227/gists{/gist_id}","starred_url":"https://api.github.com/users/lic1227/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lic1227/subscriptions","organizations_url":"https://api.github.com/users/lic1227/orgs","repos_url":"https://api.github.com/users/lic1227/repos","events_url":"https://api.github.com/users/lic1227/events{/privacy}","received_events_url":"https://api.github.com/users/lic1227/received_events","type":"User","site_admin":false},"created_at":"2017-02-11T14:10:04Z","updated_at":"2017-02-11T14:10:04Z","body":"但是这序列帧动画的用法不应该是从左上角第一个依次往后面播放吗？这样不就不对了吗？\r\n把row+1，就能从第一个播放了啊\r\nfixed4 frag (v2f i) : SV_Target {\r\n\t\t\t\tfloat time = floor(_Time.y * _Speed);  \r\n\t\t\t\tfloat row = floor(time / _HorizontalAmount);//0\r\n\t\t\t\tfloat column = time - row * _HorizontalAmount;//3\r\n\t\t\t\trow+=1;\r\n\t\t\t\thalf2 uv = i.uv + half2(column, -row);\r\n\t\t\t\tuv.x /=  _HorizontalAmount;\r\n\t\t\t\tuv.y /= _VerticalAmount;\r\n\t\t\t\t\r\n\t\t\t\tfixed4 c = tex2D(_MainTex, uv);\r\n\t\t\t\tc.rgb *= _Color;\r\n\t\t\t\t\r\n\t\t\t\treturn c;\r\n\t\t\t}"}}
{"actor":{"display_login":"lic1227"}}