+ Lighten blend mode

This commit is contained in:
2016-09-27 13:57:55 +07:00
parent 2f28dfc674
commit 792becc261
85 changed files with 1024 additions and 60 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,7 +1,7 @@
fileFormatVersion: 2
guid: f5531c525672e4d2c8b69ccd88f834d2
guid: 7766ffe6d4e5641c88d0f5edac340fd5
folderAsset: yes
timeCreated: 1474796598
timeCreated: 1474959284
licenseType: Free
DefaultImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 1e55da31b025544408094b74e817c653
timeCreated: 1474796603
timeCreated: 1474959433
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 96255c23ed669493d806b668894da94e
timeCreated: 1474796603
timeCreated: 1474959433
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: a80f356b7b50043659c6793e806c82bb
timeCreated: 1474796601
timeCreated: 1474959431
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 3e84c4a8a667b44b0b22b04ff559f97e
timeCreated: 1474796601
timeCreated: 1474959431
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 96f86ddce552b4ab29fd6e1c1cf8195a
timeCreated: 1474796601
timeCreated: 1474959431
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: e9edeaf7c9c394b9ebb9b16482d9a61e
timeCreated: 1474796601
timeCreated: 1474959432
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: d8d12f32b9306412a91308172d3b16c4
timeCreated: 1474796601
timeCreated: 1474959432
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 735b32db9e0e84c36a5a89e81975063b
timeCreated: 1474796601
timeCreated: 1474959432
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 90cc7b27ce35d4108818f04494788492
timeCreated: 1474796602
timeCreated: 1474959432
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 8ca6c0fae0257447b988a091b716c478
timeCreated: 1474796602
timeCreated: 1474959432
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: d2c90da615ac74d19a38d92f630b8870
timeCreated: 1474796602
timeCreated: 1474959432
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 3113b5cfefe3a42068a7b0ffa9afd2bf
timeCreated: 1474796602
timeCreated: 1474959432
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -0,0 +1,46 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: SwfMaskedShader_Lighten_0
m_Shader: {fileID: 4800000, guid: 2fb923af3a46a49fdb944d636b6f79e8, type: 3}
m_ShaderKeywords:
m_LightmapFlags: 5
m_CustomRenderQueue: -1
stringTagMap: {}
m_SavedProperties:
serializedVersion: 2
m_TexEnvs:
data:
first:
name: _MainTex
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
data:
first:
name: _SrcBlend
second: 1
data:
first:
name: _DstBlend
second: 10
data:
first:
name: _BlendOp
second: 4
data:
first:
name: _StencilID
second: 0
m_Colors:
data:
first:
name: _Color
second: {r: 1, g: 1, b: 1, a: 1}

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 3684561703dc243e88f0d02d26b8ddab
timeCreated: 1474959430
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,46 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: SwfMaskedShader_Lighten_1
m_Shader: {fileID: 4800000, guid: 2fb923af3a46a49fdb944d636b6f79e8, type: 3}
m_ShaderKeywords:
m_LightmapFlags: 5
m_CustomRenderQueue: -1
stringTagMap: {}
m_SavedProperties:
serializedVersion: 2
m_TexEnvs:
data:
first:
name: _MainTex
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
data:
first:
name: _SrcBlend
second: 1
data:
first:
name: _DstBlend
second: 10
data:
first:
name: _BlendOp
second: 4
data:
first:
name: _StencilID
second: 1
m_Colors:
data:
first:
name: _Color
second: {r: 1, g: 1, b: 1, a: 1}

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 0b810710e62534ec48754b05878398c9
timeCreated: 1474959430
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,46 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: SwfMaskedShader_Lighten_2
m_Shader: {fileID: 4800000, guid: 2fb923af3a46a49fdb944d636b6f79e8, type: 3}
m_ShaderKeywords:
m_LightmapFlags: 5
m_CustomRenderQueue: -1
stringTagMap: {}
m_SavedProperties:
serializedVersion: 2
m_TexEnvs:
data:
first:
name: _MainTex
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
data:
first:
name: _SrcBlend
second: 1
data:
first:
name: _DstBlend
second: 10
data:
first:
name: _BlendOp
second: 4
data:
first:
name: _StencilID
second: 2
m_Colors:
data:
first:
name: _Color
second: {r: 1, g: 1, b: 1, a: 1}

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 5e64fce168baa4031b0a7e9ff94fb1a5
timeCreated: 1474959431
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,46 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: SwfMaskedShader_Lighten_3
m_Shader: {fileID: 4800000, guid: 2fb923af3a46a49fdb944d636b6f79e8, type: 3}
m_ShaderKeywords:
m_LightmapFlags: 5
m_CustomRenderQueue: -1
stringTagMap: {}
m_SavedProperties:
serializedVersion: 2
m_TexEnvs:
data:
first:
name: _MainTex
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
data:
first:
name: _SrcBlend
second: 1
data:
first:
name: _DstBlend
second: 10
data:
first:
name: _BlendOp
second: 4
data:
first:
name: _StencilID
second: 3
m_Colors:
data:
first:
name: _Color
second: {r: 1, g: 1, b: 1, a: 1}

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 5094ac7ace5764853a643bcefa48861c
timeCreated: 1474959431
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,46 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: SwfMaskedShader_Lighten_4
m_Shader: {fileID: 4800000, guid: 2fb923af3a46a49fdb944d636b6f79e8, type: 3}
m_ShaderKeywords:
m_LightmapFlags: 5
m_CustomRenderQueue: -1
stringTagMap: {}
m_SavedProperties:
serializedVersion: 2
m_TexEnvs:
data:
first:
name: _MainTex
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
data:
first:
name: _SrcBlend
second: 1
data:
first:
name: _DstBlend
second: 10
data:
first:
name: _BlendOp
second: 4
data:
first:
name: _StencilID
second: 4
m_Colors:
data:
first:
name: _Color
second: {r: 1, g: 1, b: 1, a: 1}

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 225bd6de4e9e64e179db8b3d1dc520f0
timeCreated: 1474959431
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,46 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: SwfMaskedShader_Lighten_5
m_Shader: {fileID: 4800000, guid: 2fb923af3a46a49fdb944d636b6f79e8, type: 3}
m_ShaderKeywords:
m_LightmapFlags: 5
m_CustomRenderQueue: -1
stringTagMap: {}
m_SavedProperties:
serializedVersion: 2
m_TexEnvs:
data:
first:
name: _MainTex
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
data:
first:
name: _SrcBlend
second: 1
data:
first:
name: _DstBlend
second: 10
data:
first:
name: _BlendOp
second: 4
data:
first:
name: _StencilID
second: 5
m_Colors:
data:
first:
name: _Color
second: {r: 1, g: 1, b: 1, a: 1}

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 9c35b502be19a469ab9ff3dc86dd909c
timeCreated: 1474959431
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,46 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: SwfMaskedShader_Lighten_6
m_Shader: {fileID: 4800000, guid: 2fb923af3a46a49fdb944d636b6f79e8, type: 3}
m_ShaderKeywords:
m_LightmapFlags: 5
m_CustomRenderQueue: -1
stringTagMap: {}
m_SavedProperties:
serializedVersion: 2
m_TexEnvs:
data:
first:
name: _MainTex
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
data:
first:
name: _SrcBlend
second: 1
data:
first:
name: _DstBlend
second: 10
data:
first:
name: _BlendOp
second: 4
data:
first:
name: _StencilID
second: 6
m_Colors:
data:
first:
name: _Color
second: {r: 1, g: 1, b: 1, a: 1}

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: dda73ced918ef4b0696d1ef2c66d3c4c
timeCreated: 1474959431
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,46 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: SwfMaskedShader_Lighten_7
m_Shader: {fileID: 4800000, guid: 2fb923af3a46a49fdb944d636b6f79e8, type: 3}
m_ShaderKeywords:
m_LightmapFlags: 5
m_CustomRenderQueue: -1
stringTagMap: {}
m_SavedProperties:
serializedVersion: 2
m_TexEnvs:
data:
first:
name: _MainTex
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
data:
first:
name: _SrcBlend
second: 1
data:
first:
name: _DstBlend
second: 10
data:
first:
name: _BlendOp
second: 4
data:
first:
name: _StencilID
second: 7
m_Colors:
data:
first:
name: _Color
second: {r: 1, g: 1, b: 1, a: 1}

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 4cc622ce4a5c345ac822f7ff280d4268
timeCreated: 1474959431
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,46 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: SwfMaskedShader_Lighten_8
m_Shader: {fileID: 4800000, guid: 2fb923af3a46a49fdb944d636b6f79e8, type: 3}
m_ShaderKeywords:
m_LightmapFlags: 5
m_CustomRenderQueue: -1
stringTagMap: {}
m_SavedProperties:
serializedVersion: 2
m_TexEnvs:
data:
first:
name: _MainTex
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
data:
first:
name: _SrcBlend
second: 1
data:
first:
name: _DstBlend
second: 10
data:
first:
name: _BlendOp
second: 4
data:
first:
name: _StencilID
second: 8
m_Colors:
data:
first:
name: _Color
second: {r: 1, g: 1, b: 1, a: 1}

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 950c0cd2d41f841429b3b54ac133fd92
timeCreated: 1474959431
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,46 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: SwfMaskedShader_Lighten_9
m_Shader: {fileID: 4800000, guid: 2fb923af3a46a49fdb944d636b6f79e8, type: 3}
m_ShaderKeywords:
m_LightmapFlags: 5
m_CustomRenderQueue: -1
stringTagMap: {}
m_SavedProperties:
serializedVersion: 2
m_TexEnvs:
data:
first:
name: _MainTex
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
data:
first:
name: _SrcBlend
second: 1
data:
first:
name: _DstBlend
second: 10
data:
first:
name: _BlendOp
second: 4
data:
first:
name: _StencilID
second: 9
m_Colors:
data:
first:
name: _Color
second: {r: 1, g: 1, b: 1, a: 1}

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 1543ae54a3e2741829b57f157393b48d
timeCreated: 1474959431
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: a6b885f15c54d4dcdaac4f5d12ea2daf
timeCreated: 1474796599
timeCreated: 1474959429
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 65314863cb2344d6684f2e4e379614c1
timeCreated: 1474796599
timeCreated: 1474959429
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 2f9652478fc2443ac8a9bba8b95246fc
timeCreated: 1474796599
timeCreated: 1474959429
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 5157cdce10c384235b7f51af91abf29d
timeCreated: 1474796600
timeCreated: 1474959429
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 0f4791a424a104dfeb5ca205bcc6b8ed
timeCreated: 1474796600
timeCreated: 1474959429
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 7a433813c651e43519d6a2cdfadab1f2
timeCreated: 1474796600
timeCreated: 1474959429
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: e4dc514bc36b64cbf9b1b8007973410e
timeCreated: 1474796600
timeCreated: 1474959429
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 9de9e7f3181cc4b4683053aa554d9be2
timeCreated: 1474796600
timeCreated: 1474959429
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 929a02f2162934ff0904681dec542b45
timeCreated: 1474796600
timeCreated: 1474959429
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 4c91d602934be47daa8e1851c5f7b766
timeCreated: 1474796600
timeCreated: 1474959429
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 0815ed95b49824da8b3815435ef59385
timeCreated: 1474796598
timeCreated: 1474959428
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 72d26c63ad5c247f7adb2724d632283f
timeCreated: 1474796598
timeCreated: 1474959428
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 775f73c7a46654493beba7b9d7f88448
timeCreated: 1474796599
timeCreated: 1474959428
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: e504744432d714b0ca7285bc6105e5fd
timeCreated: 1474796599
timeCreated: 1474959428
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: d2003d2a7e8c04535aac30f912c47f33
timeCreated: 1474796599
timeCreated: 1474959428
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: a5acf9660f00d40e984cac5e02ad9639
timeCreated: 1474796599
timeCreated: 1474959428
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 70136110b52e94839bc85a9a75982bed
timeCreated: 1474796599
timeCreated: 1474959428
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 2c2c8c41cfe634a9f83006e556458bfe
timeCreated: 1474796599
timeCreated: 1474959428
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: e9d7e01e1764c4cf6809634f4c84a0ab
timeCreated: 1474796599
timeCreated: 1474959429
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 7c2674aa631154565bce63897c922921
timeCreated: 1474796599
timeCreated: 1474959429
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 9511d9c33e3b2477cb52f3a05f043d5c
timeCreated: 1474796600
timeCreated: 1474959430
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: d067df622cca8442b93004f0bc6ea0a8
timeCreated: 1474796600
timeCreated: 1474959430
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 6f1b56f8270ae4faf9ef3c8148522346
timeCreated: 1474796600
timeCreated: 1474959430
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 1aa6b3caf9ea84b998480c0b8735159b
timeCreated: 1474796600
timeCreated: 1474959430
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 95f7248a716a64f6c93e1ddb366f91ab
timeCreated: 1474796601
timeCreated: 1474959430
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: bf1105005313d4b48b030d348ff915f6
timeCreated: 1474796601
timeCreated: 1474959430
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 0f31286c214ac4dc28414dafd64f9b2d
timeCreated: 1474796601
timeCreated: 1474959430
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 8b96efb762e254232adea9ad57daa842
timeCreated: 1474796601
timeCreated: 1474959430
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: c09361a11e4b6453cb4152f4314a3183
timeCreated: 1474796601
timeCreated: 1474959430
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 6eb354f314b2d4d7989561d8ab76f38b
timeCreated: 1474796601
timeCreated: 1474959430
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 1de104fbda9fb43e59c205c30d13b6aa
timeCreated: 1474796602
timeCreated: 1474959432
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 5627a912cf6674b568dacf03278f632f
timeCreated: 1474796602
timeCreated: 1474959432
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 9d8e3b7f5956f4c16a5a9cf6415b854a
timeCreated: 1474796602
timeCreated: 1474959432
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 3f84885ad72f3442695844b412cd4731
timeCreated: 1474796602
timeCreated: 1474959432
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 5354391af25264904adc90697755a33a
timeCreated: 1474796602
timeCreated: 1474959432
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: f7fe946e973a540cc9f3d074f83611a1
timeCreated: 1474796602
timeCreated: 1474959433
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 65cf82db56104442690eb82f9dc735a8
timeCreated: 1474796602
timeCreated: 1474959433
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 4965b9f5b13a5431f82b4681beb6c380
timeCreated: 1474796602
timeCreated: 1474959433
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: fa077e0012d7049aea4b6f63c6fa7098
timeCreated: 1474796603
timeCreated: 1474959433
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 05f6d05f86a0f4f9b8b8ff058a26488a
timeCreated: 1474796603
timeCreated: 1474959433
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 66962bb40f9c34b3d894612bbf870a9f
timeCreated: 1474796601
timeCreated: 1474959284
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -0,0 +1,42 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: SwfSimpleShader_Lighten
m_Shader: {fileID: 4800000, guid: 71f5f783ce2ab4fc4bf826e4acb105dd, type: 3}
m_ShaderKeywords:
m_LightmapFlags: 5
m_CustomRenderQueue: -1
stringTagMap: {}
m_SavedProperties:
serializedVersion: 2
m_TexEnvs:
data:
first:
name: _MainTex
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
data:
first:
name: _SrcBlend
second: 1
data:
first:
name: _DstBlend
second: 10
data:
first:
name: _BlendOp
second: 4
m_Colors:
data:
first:
name: _Color
second: {r: 1, g: 1, b: 1, a: 1}

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: da65e9d10a81b4020bfe6b2f88dcadec
timeCreated: 1474959284
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 5f79013a0fbe546b9ba4e35413e78494
timeCreated: 1474796599
timeCreated: 1474959284
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: fb2a80c6a2b824c0bb2ecd9df903b94c
timeCreated: 1474796598
timeCreated: 1474959284
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: f57b07fe19e9e4d15b198d64b7aed4aa
timeCreated: 1474796600
timeCreated: 1474959284
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 07ae932d6ce714cea8ba8e698067f8a7
timeCreated: 1474796602
timeCreated: 1474959285
licenseType: Free
NativeFormatImporter:
userData:

View File

@@ -47,6 +47,8 @@ namespace FlashTools.Internal.SwfTools.SwfTypes {
return new SwfBlendModeData(SwfBlendModeData.Types.Multiply);
case Mode.Screen:
return new SwfBlendModeData(SwfBlendModeData.Types.Screen);
case Mode.Lighten:
return new SwfBlendModeData(SwfBlendModeData.Types.Lighten);
case Mode.Add:
return new SwfBlendModeData(SwfBlendModeData.Types.Add);
case Mode.Subtract:

View File

@@ -183,6 +183,11 @@ namespace FlashTools.Internal {
material.SetInt("_SrcBlend", (int)BlendMode.OneMinusDstColor);
material.SetInt("_DstBlend", (int)BlendMode.One);
break;
case SwfBlendModeData.Types.Lighten:
material.SetInt("_BlendOp" , (int)BlendOp.Max);
material.SetInt("_SrcBlend", (int)BlendMode.One);
material.SetInt("_DstBlend", (int)BlendMode.OneMinusSrcAlpha);
break;
case SwfBlendModeData.Types.Add:
material.SetInt("_BlendOp" , (int)BlendOp.Add);
material.SetInt("_SrcBlend", (int)BlendMode.One);

View File

@@ -111,6 +111,7 @@ namespace FlashTools {
Normal,
Multiply,
Screen,
Lighten,
Add,
Subtract
}