Skip to content

Commit

Permalink
close #34; Shaders for TMPro are no longer support d3d9 & d3d11_9x
Browse files Browse the repository at this point in the history
  • Loading branch information
mob-sakai committed Feb 5, 2019
1 parent ab6e037 commit 3502eff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Shaders/TMP_SDF (SoftMaskable).shader
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ SubShader {

Pass {
CGPROGRAM
#pragma exclude_renderers d3d9
#pragma target 3.0
#pragma vertex VertShader
#pragma fragment PixShader
Expand Down
4 changes: 4 additions & 0 deletions Shaders/TMP_SDF-Mobile (SoftMaskable).shader
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ SubShader {

Pass {
CGPROGRAM
#pragma exclude_renderers d3d9
#if !defined(SHADER_API_D3D11_9X)
#pragma target 3.0
#endif
#pragma vertex VertShader
#pragma fragment PixShader
#pragma shader_feature __ OUTLINE_ON
Expand Down

0 comments on commit 3502eff

Please sign in to comment.