fix #37; Flipped soft mask texture on Windows

pull/87/head
mob-sakai 2019-03-11 04:27:39 +09:00
parent 16516296b4
commit 8894eb3539
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ float SoftMaskInternal(float4 clipPos)
view = lerp(view, cpos.xy / cpos.w * 0.5 + 0.5, isSceneView);
#endif
#if UNITY_UV_STARTS_AT_TOP
#if UNITY_UV_STARTS_AT_TOP && !defined(SHADER_API_D3D11) && !defined(SHADER_API_D3D11_9X) && !defined(SHADER_API_D3D9)
view.y = 1.0 - view.y;
#endif