{"provider_url":"https://hatena.blog","description":"\u306f\u3058\u3081\u306b \u753b\u50cf\u306e\u79fb\u52d5\u30fb\u56de\u8ee2\u30fb\u30b9\u30b1\u30fc\u30eb\u306b\u3064\u3044\u3066\u306a\u305c\u305d\u3046\u306a\u3063\u3066\u3044\u308b\u304b\u3092 \u8aac\u660e\u3057\u307e\u3059\u3002 UV\u5ea7\u6a19\u7cfb Create > Shader > Unit Shader \u3067\u8aac\u660e\u3057\u307e\u3059\u3002 \u4f5c\u6210\u3055\u308c\u305f\u30b7\u30a7\u30fc\u30c0\u306b\u306fv2f\u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u3059\u3002 struct v2f { float2 uv : TEXCOORD0; ... }; uv\u306e\u5ea7\u6a19\u7cfb\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002 \u3053\u306euv\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30c6\u30af\u30b9\u30c1\u30e3\u3092\u8cbc\u308b\u3053\u3068\u3092\u8003\u3048\u307e\u3059\u3002 \u3053\u306e\u6642\u306e\u30b3\u30fc\u30c9\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002 fixed4 frag (v2f i) : SV_Target { fixed4 col = tex2D(_MainTex, i.uv); return c\u2026","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/y/yu00/20240927/20240927215052.png","author_name":"yu00","type":"rich","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/yu00/","url":"https://yu00.hatenablog.com/entry/2024/09/27/221447","width":"100%","title":"Unity Shader UV\u5ea7\u6a19\u307e\u3068\u3081","published":"2024-09-27 22:14:47","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyu00.hatenablog.com%2Fentry%2F2024%2F09%2F27%2F221447\" title=\"Unity Shader UV\u5ea7\u6a19\u307e\u3068\u3081 - yu00\u2019s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://yu00.hatenablog.com/","version":"1.0","height":"190","blog_title":"yu00\u2019s blog","categories":[]}