シェーダーの度とラジアンの換算を円周率から導く

このコミットが含まれているのは:
routersys committed 2026-10-20 18:39:09 +09:00
1 親 c187bced90
コミット 99f12c2544
1ファイル変更
+2 -1
+2 -1
ファイルの表示
@@ -14,7 +14,8 @@ cbuffer Constants : register(b0)
float tableWidth : packoffset(c2.w);
};
static const float DegreesPerRadian = 57.29577951308232;
static const float Pi = 3.14159265358979;
static const float DegreesPerRadian = 180.0 / Pi;
float3 SrgbToLinear(float3 encoded)
{