{"author_url":"https://blog.hatena.ne.jp/nakamura001/","blog_title":"\u5f37\u706b\u3067\u9032\u3081","blog_url":"https://nakamura001.hatenablog.com/","provider_name":"Hatena Blog","height":"190","published":"2012-04-06 00:46:57","categories":["Unity","Unity3d"],"url":"https://nakamura001.hatenablog.com/entry/20120406/1333727217","provider_url":"https://hatena.blog","width":"100%","type":"rich","author_name":"nakamura001","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnakamura001.hatenablog.com%2Fentry%2F20120406%2F1333727217\" title=\"(Cg)\u30b7\u30a7\u30fc\u30c0\u5185\u3067 sin \u306e\u5024\u3092\u4f7f\u3044\u3001\u6642\u9593\u3068\u5171\u306b\u8272\u3092\u5909\u5316\u3055\u305b\u308b - \u5f37\u706b\u3067\u9032\u3081\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"title":"(Cg)\u30b7\u30a7\u30fc\u30c0\u5185\u3067 sin \u306e\u5024\u3092\u4f7f\u3044\u3001\u6642\u9593\u3068\u5171\u306b\u8272\u3092\u5909\u5316\u3055\u305b\u308b","version":"1.0","description":"\u6628\u65e5\u306e\u300cDiffuse\u300d\u306e\u30b3\u30fc\u30c9\u3092\u30d9\u30fc\u30b9\u306b\u8272\u3005\u5909\u66f4\u3057\u3066\u307f\u308b\u52c9\u5f37\u306e\u7d9a\u304d\u3002\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u3092\u8aad\u3093\u3067\u308b\u3068 sin \u3084 cos \u306e\u5024\u3092\u4f7f\u3048\u308b\u4e8b\u3092\u767a\u898b\u3002\u65e9\u901f\u3001\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u3002 Unity - ShaderLab builtin values http://unity3d.com/support/documentation/Components/SL-BuiltinValues.html \u8272\u306e\u90e8\u5206\u3092sin\u30ab\u30fc\u30d6\u3067\u767d\u3068\u9ed2\u3092\u7e70\u308a\u8fd4\u3059\u69d8\u306b\u4ee5\u4e0b\u306e\u69d8\u306b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u304d\u307e\u3057\u305f\u3002 Shader \"test\" { Properties { _Color (\"Main Color\", Color) = (1,1,1,1) _M\u2026"}