Fonts with a shader that has depth

This commit is contained in:
2016-05-23 21:16:31 +02:00
parent 3ed120f4a3
commit 6a21aa1ea6
17 changed files with 137 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: c9a1b6ec5a2e0d6429b2577039884509
folderAsset: yes
timeCreated: 1464026083
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
BIN
View File
Binary file not shown.
+8
View File
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 4330f0e761e0d1345a8d7590f8d7954f
timeCreated: 1464025991
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:
BIN
View File
Binary file not shown.
+20
View File
@@ -0,0 +1,20 @@
fileFormatVersion: 2
guid: a8b81d3342751554b9217e5f07c6e86b
timeCreated: 1464027391
licenseType: Free
TrueTypeFontImporter:
serializedVersion: 3
fontSize: 256
forceTextureCase: 0
characterSpacing: 1
characterPadding: 0
includeFontData: 1
fontNames: []
fallbackFontReferences:
- {fileID: 12800000, guid: e201ce4f474f0c14981abdac6bf8860c, type: 3}
customCharacters:
fontRenderingMode: 0
ascentCalculationMode: 1
userData:
assetBundleName:
assetBundleVariant:
BIN
View File
Binary file not shown.
+19
View File
@@ -0,0 +1,19 @@
fileFormatVersion: 2
guid: e201ce4f474f0c14981abdac6bf8860c
timeCreated: 1464027392
licenseType: Free
TrueTypeFontImporter:
serializedVersion: 3
fontSize: 16
forceTextureCase: -2
characterSpacing: 1
characterPadding: 0
includeFontData: 1
fontNames: []
fallbackFontReferences: []
customCharacters:
fontRenderingMode: 0
ascentCalculationMode: 1
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.
+8
View File
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: f28664ecb5ca3d64b909e516ad1cdd71
timeCreated: 1464027449
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:
BIN
View File
Binary file not shown.
+19
View File
@@ -0,0 +1,19 @@
fileFormatVersion: 2
guid: 4ab566410b504b4438b6382339277631
timeCreated: 1464026598
licenseType: Free
TrueTypeFontImporter:
serializedVersion: 3
fontSize: 256
forceTextureCase: 0
characterSpacing: 1
characterPadding: 0
includeFontData: 1
fontNames: []
fallbackFontReferences: []
customCharacters:
fontRenderingMode: 0
ascentCalculationMode: 1
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.
+8
View File
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 7b169001aae2ade4ab847648fa6f3161
timeCreated: 1464027130
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:
BIN
View File
Binary file not shown.
+19
View File
@@ -0,0 +1,19 @@
fileFormatVersion: 2
guid: 82d579c5a2c97954d8f0f0b3f7d2d7b8
timeCreated: 1464026599
licenseType: Free
TrueTypeFontImporter:
serializedVersion: 3
fontSize: 256
forceTextureCase: 0
characterSpacing: 1
characterPadding: 0
includeFontData: 1
fontNames: []
fallbackFontReferences: []
customCharacters:
fontRenderingMode: 0
ascentCalculationMode: 1
userData:
assetBundleName:
assetBundleVariant:
+18
View File
@@ -0,0 +1,18 @@
Shader "GUI/TextWithDepth" {
Properties{
_MainTex("Font Texture", 2D) = "white" {}
_Color("Text Color", Color) = (1, 1, 1, 1)
}
SubShader{
Tags{ "Queue" = "Transparent" "IgnoreProjector" = "True" "RenderType" = "Transparent" }
Lighting Off Cull Off ZWrite Off Fog{ Mode Off }
Blend SrcAlpha OneMinusSrcAlpha
Pass{
Color[_Color]
SetTexture[_MainTex]{
combine primary, texture * primary
}
}
}
}
+9
View File
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 51af322cb585ad744afc1c60957cb4c8
timeCreated: 1464025853
licenseType: Free
ShaderImporter:
defaultTextures: []
userData:
assetBundleName:
assetBundleVariant: