[modify] 셰이더수정

This commit is contained in:
fbtk
2025-11-14 11:34:47 +09:00
parent 49b4063d41
commit 2845699a6f
4 changed files with 17 additions and 3 deletions
+2 -2
View File
@@ -15,12 +15,12 @@ end_of_line = crlf
# hlsl 저장형식 지정
[*.hlsl]
charset = utf-8-bom
charset = utf-8
insert_final_newline = true
end_of_line = crlf
# hlsli 저장형식 지정
[*.hlsli]
charset = utf-8-bom
charset = utf-8
insert_final_newline = true
end_of_line = crlf
@@ -146,6 +146,8 @@ PS_OUT PS_Cursor(PS_IN In)
Color = White;
Out.vColor = Color;
return Out;
}
@@ -157,7 +159,7 @@ PS_OUT PS_Key_Hold_Rotation(PS_IN In)
float4 tex = g_Texture.Sample(DefaultSampler, uv);
float2 center = float2(0.5, 0);
float2 center = float2(0.5f, 0.5f);
float2 dir = uv - center;
float angle = atan2(dir.x, -dir.y);
@@ -129,6 +129,12 @@
<Command>
</Command>
</PreBuildEvent>
<FxCompile>
<ShaderType>Effect</ShaderType>
</FxCompile>
<FxCompile>
<ShaderModel>5.0</ShaderModel>
</FxCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
@@ -135,6 +135,12 @@
call Update_Lib.bat
</Command>
</PostBuildEvent>
<FxCompile>
<ShaderType>Effect</ShaderType>
</FxCompile>
<FxCompile>
<ShaderModel>5.0</ShaderModel>
</FxCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>