{"categories":["HLSL","Shader"],"provider_name":"Hatena Blog","width":"100%","height":"190","provider_url":"https://hatena.blog","type":"rich","published":"2018-12-11 00:00:00","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/n/notargs/20181210/20181210144153.png","blog_title":"\u306e\u305f\u3050\u3059\u30d6\u30ed\u30b0","url":"https://notargs.hateblo.jp/entry/invert_matrix","blog_url":"https://notargs.hateblo.jp/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnotargs.hateblo.jp%2Fentry%2Finvert_matrix\" title=\"\u3010HLSL\u30112x2\u884c\u5217\u30013x3\u884c\u5217\u306e\u9006\u884c\u5217\u3092\u8a08\u7b97\u3059\u308b - \u306e\u305f\u3050\u3059\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"notargs","version":"1.0","description":"Cluster,Inc. Advent Calendar 2018\u300111\u65e5\u76ee\u306e\u8a18\u4e8b\u3067\u3059\u3002 qiita.com \u6982\u8981 HLSL\u306b\u3066\u30014x4\u884c\u5217\u306e\u9006\u884c\u5217\u3092\u8a08\u7b97\u3059\u308b\u51e6\u7406\u306f\u898b\u3064\u304b\u3063\u305f\u3093\u3067\u3059\u304c\u30012x2\u30013x3\u304c\u898b\u5f53\u305f\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u3002 4x4\u884c\u5217\u306f\u3053\u3061\u3089 Matrix operations for HLSL \u00b7 GitHub 2x2\u884c\u5217 float2x2 Invert(float2x2 m) { return 1.0 / determinant(m) * float2x2( m._m11, -m._m01, -m._m10, m._m00 ); } 3x3\u884c\u5217 float3x3 Invert\u2026","title":"\u3010HLSL\u30112x2\u884c\u5217\u30013x3\u884c\u5217\u306e\u9006\u884c\u5217\u3092\u8a08\u7b97\u3059\u308b","author_url":"https://blog.hatena.ne.jp/notargs/"}