[modify] 셰이더수정
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user