import pmx plugin

This commit is contained in:
CroakFang
2023-06-30 14:08:40 +08:00
parent c3d4e6b111
commit 33943e4205
203 changed files with 11810 additions and 0 deletions
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 660944cfede8de84d8945cc950ba37f2
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 1de5827113caaf740b55336c1719eaa1
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

@@ -0,0 +1,112 @@
fileFormatVersion: 2
guid: d64ba096e6df12e45a4b226a99353ef2
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 10
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 1
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
- serializedVersion: 2
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
- serializedVersion: 2
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

@@ -0,0 +1,112 @@
fileFormatVersion: 2
guid: 255c68c702fc8ff4b8796b43eebc15d5
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 10
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 1
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
- serializedVersion: 2
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
- serializedVersion: 2
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

@@ -0,0 +1,112 @@
fileFormatVersion: 2
guid: 32fa5d23e3c479e48a9cbbd0bb690a6f
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 10
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 1
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
- serializedVersion: 2
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
- serializedVersion: 2
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

@@ -0,0 +1,112 @@
fileFormatVersion: 2
guid: ec1f8bdff911c8a41b8bed7c8335d4f2
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 10
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 1
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
- serializedVersion: 2
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
- serializedVersion: 2
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

@@ -0,0 +1,112 @@
fileFormatVersion: 2
guid: 43591bdde4bdc474492bf0aa6f2e2ae1
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 10
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 1
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
- serializedVersion: 2
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
- serializedVersion: 2
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

@@ -0,0 +1,112 @@
fileFormatVersion: 2
guid: 15cbcd5fb2371d041a1097e22d6d1d19
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 10
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 1
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
- serializedVersion: 2
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
- serializedVersion: 2
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

@@ -0,0 +1,112 @@
fileFormatVersion: 2
guid: 0ae4097b717681340b3b41b997154405
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 10
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 1
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
- serializedVersion: 2
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
- serializedVersion: 2
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

@@ -0,0 +1,112 @@
fileFormatVersion: 2
guid: b32dd17f1a671c245927bd16f85569e1
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 10
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 1
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
- serializedVersion: 2
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
- serializedVersion: 2
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

@@ -0,0 +1,112 @@
fileFormatVersion: 2
guid: 8b21f503f5fe1a64cb351891db627bb7
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 10
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 1
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
- serializedVersion: 2
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
- serializedVersion: 2
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

@@ -0,0 +1,112 @@
fileFormatVersion: 2
guid: 269ec9a189789e94eb0b75624ac058da
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 10
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 1
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
- serializedVersion: 2
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
- serializedVersion: 2
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

@@ -0,0 +1,112 @@
fileFormatVersion: 2
guid: bfe46bb09f22414458a9f626f2f047cc
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 10
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 1
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
- serializedVersion: 2
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
- serializedVersion: 2
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 88abb39375d5da0469fb7aeb358ae504
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,145 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &177590
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
serializedVersion: 5
m_Component:
- component: {fileID: 417552}
- component: {fileID: 3310420}
- component: {fileID: 114787368994509120}
- component: {fileID: 137932525872769078}
m_Layer: 0
m_Name: MMDGameObject
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &417552
Transform:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 177590}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &3310420
MeshFilter:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 177590}
m_Mesh: {fileID: 0}
--- !u!1001 &100100000
Prefab:
m_ObjectHideFlags: 1
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 0}
propertyPath: m_CastShadows
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_StaticEditorFlags
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_LocalScale.x
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_LocalScale.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_LocalScale.z
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_FadeMode
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ReceiveShadows
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_UseLightProbes
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ReflectionProbeUsage
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 0}
m_RootGameObject: {fileID: 177590}
m_IsPrefabParent: 1
--- !u!114 &114787368994509120
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 177590}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9addb051abdb431f8fafe04b8c4388a3, type: 3}
m_Name:
m_EditorClassIdentifier:
AutoPhysicsStepLength: 1
Playing: 0
PhysicsCacheFrameSize: 60
PhysicsMode: 2
--- !u!137 &137932525872769078
SkinnedMeshRenderer:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 177590}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_MotionVectors: 1
m_LightProbeUsage: 0
m_ReflectionProbeUsage: 0
m_Materials: []
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
serializedVersion: 2
m_Quality: 4
m_UpdateWhenOffscreen: 0
m_SkinnedMotionVectors: 0
m_Mesh: {fileID: 0}
m_Bones: []
m_BlendShapeWeights: []
m_RootBone: {fileID: 0}
m_AABB:
m_Center: {x: 0, y: 0, z: 0}
m_Extent: {x: 0, y: 0, z: 0}
m_DirtyAABB: 1
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 70b1f02c41a9a3042b808297ca23f687
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 1ef162dda4227e94ab1c4e4e22b46c31
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,56 @@
/*
* MMD Shader for Unity
*
* Copyright 2012 Masataka SUMI, Takahiro INOUE
*
*    Licensed under the Apache License, Version 2.0 (the "License");
*    you may not use this file except in compliance with the License.
*    You may obtain a copy of the License at
*
*        http://www.apache.org/licenses/LICENSE-2.0
*
*    Unless required by applicable law or agreed to in writing, software
*    distributed under the License is distributed on an "AS IS" BASIS,
*    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*    See the License for the specific language governing permissions and
*    limitations under the License.
*/
Shader "MMD/PMDMaterial-CullBack-NoCastShadow"
{
Properties
{
_Color("拡散色", Color) = (1,1,1,1)
_SpecularColor("反射色", Color) = (1,1,1)
_AmbColor("環境色", Color) = (1,1,1)
_Shininess("反射強度", Float) = 0
_MainTex("テクスチャ", 2D) = "white" {}
_ToonTex("トゥーン", 2D) = "white" {}
_SphereAddTex("スフィア(加算)", 2D) = "black" {}
_SphereMulTex("スフィア(乗算)", 2D) = "white" {}
}
SubShader
{
// Settings
Tags
{
"ForceNoShadowCasting" = "True"
}
// First Pass
Pass
{
Cull Back
}
// Surface Shader
CGPROGRAM
#pragma surface surf MMD
#pragma multi_compile SELFSHADOW_OFF SELFSHADOW_ON
#include "MeshPmdMaterialSurface.cginc"
ENDCG
}
// Other Environment
Fallback "Diffuse"
}
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 9c0dae108095f084dac4a04ea82dd207
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,70 @@
/*
* MMD Shader for Unity
*
* Copyright 2012 Masataka SUMI, Takahiro INOUE
*
*    Licensed under the Apache License, Version 2.0 (the "License");
*    you may not use this file except in compliance with the License.
*    You may obtain a copy of the License at
*
*        http://www.apache.org/licenses/LICENSE-2.0
*
*    Unless required by applicable law or agreed to in writing, software
*    distributed under the License is distributed on an "AS IS" BASIS,
*    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*    See the License for the specific language governing permissions and
*    limitations under the License.
*/
Shader "MMD/PMDMaterial-CullBack"
{
Properties
{
_Color("拡散色", Color) = (1,1,1,1)
_SpecularColor("反射色", Color) = (1,1,1)
_AmbColor("環境色", Color) = (1,1,1)
_Shininess("反射強度", Float) = 0
_MainTex("テクスチャ", 2D) = "white" {}
_ToonTex("トゥーン", 2D) = "white" {}
_SphereAddTex("スフィア(加算)", 2D) = "black" {}
_SphereMulTex("スフィア(乗算)", 2D) = "white" {}
}
SubShader
{
// First Pass
Pass
{
Cull Back
}
// Surface Shader
CGPROGRAM
#pragma surface surf MMD
#pragma multi_compile SELFSHADOW_OFF SELFSHADOW_ON
#include "MeshPmdMaterialSurface.cginc"
ENDCG
// ShadowCast Pass
Pass
{
Tags
{
"LightMode" = "ShadowCaster"
}
Cull Off
Lighting Off
//Offset [_ShadowBias], [_ShadowBiasSlope] //使えない様なのでコメントアウト
AlphaTest Greater 0.25
CGPROGRAM
#pragma vertex shadow_vert
#pragma fragment shadow_frag
#include "UnityCG.cginc"
#include "MeshPmdMaterialShadowVertFrag.cginc"
ENDCG
}
}
// Other Environment
Fallback "Diffuse"
}
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: b878465034ca5b84892787cd959ae37f
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,56 @@
/*
* MMD Shader for Unity
*
* Copyright 2012 Masataka SUMI, Takahiro INOUE
*
*    Licensed under the Apache License, Version 2.0 (the "License");
*    you may not use this file except in compliance with the License.
*    You may obtain a copy of the License at
*
*        http://www.apache.org/licenses/LICENSE-2.0
*
*    Unless required by applicable law or agreed to in writing, software
*    distributed under the License is distributed on an "AS IS" BASIS,
*    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*    See the License for the specific language governing permissions and
*    limitations under the License.
*/
Shader "MMD/PMDMaterial-NoCastShadow"
{
Properties
{
_Color("拡散色", Color) = (1,1,1,1)
_SpecularColor("反射色", Color) = (1,1,1)
_AmbColor("環境色", Color) = (1,1,1)
_Shininess("反射強度", Float) = 0
_MainTex("テクスチャ", 2D) = "white" {}
_ToonTex("トゥーン", 2D) = "white" {}
_SphereAddTex("スフィア(加算)", 2D) = "black" {}
_SphereMulTex("スフィア(乗算)", 2D) = "white" {}
}
SubShader
{
// Settings
Tags
{
"ForceNoShadowCasting" = "True"
}
// First Pass
Pass
{
Cull Off
}
// Surface Shader
CGPROGRAM
#pragma surface surf MMD
#pragma multi_compile SELFSHADOW_OFF SELFSHADOW_ON
#include "MeshPmdMaterialSurface.cginc"
ENDCG
}
// Other Environment
Fallback "Diffuse"
}
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 6e4e659cc5a17a64bbd02a96dde31fe6
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,57 @@
/*
* MMD Shader for Unity
*
* Copyright 2012 Masataka SUMI, Takahiro INOUE
*
*    Licensed under the Apache License, Version 2.0 (the "License");
*    you may not use this file except in compliance with the License.
*    You may obtain a copy of the License at
*
*        http://www.apache.org/licenses/LICENSE-2.0
*
*    Unless required by applicable law or agreed to in writing, software
*    distributed under the License is distributed on an "AS IS" BASIS,
*    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*    See the License for the specific language governing permissions and
*    limitations under the License.
*/
Shader "MMD/Transparent/PMDMaterial-CullBack-NoCastShadow"
{
Properties
{
_Color("拡散色", Color) = (1,1,1,1)
_Opacity("不透明度", Float) = 1.0
_SpecularColor("反射色", Color) = (1,1,1)
_AmbColor("環境色", Color) = (1,1,1)
_Shininess("反射強度", Float) = 0
_MainTex("テクスチャ", 2D) = "white" {}
_ToonTex("トゥーン", 2D) = "white" {}
_SphereAddTex("スフィア(加算)", 2D) = "black" {}
_SphereMulTex("スフィア(乗算)", 2D) = "white" {}
}
SubShader
{
// Settings
Tags
{
"Queue" = "Geometry+2"
"RenderType" = "Transparent"
}
// Surface Shader
Cull Back
ZWrite On
Blend SrcAlpha OneMinusSrcAlpha
AlphaTest Greater 0.0
CGPROGRAM
#pragma surface surf MMD keepalpha
#pragma multi_compile SELFSHADOW_OFF SELFSHADOW_ON
#include "MeshPmdMaterialSurface.cginc"
ENDCG
}
// Other Environment
Fallback "Transparent/Diffuse"
}
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: bc3f4ca3abc77df4dbc26041c0c93134
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,77 @@
/*
* MMD Shader for Unity
*
* Copyright 2012 Masataka SUMI, Takahiro INOUE
*
*    Licensed under the Apache License, Version 2.0 (the "License");
*    you may not use this file except in compliance with the License.
*    You may obtain a copy of the License at
*
*        http://www.apache.org/licenses/LICENSE-2.0
*
*    Unless required by applicable law or agreed to in writing, software
*    distributed under the License is distributed on an "AS IS" BASIS,
*    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*    See the License for the specific language governing permissions and
*    limitations under the License.
*/
Shader "MMD/Transparent/PMDMaterial-CullBack"
{
Properties
{
_Color("拡散色", Color) = (1,1,1,1)
_Opacity("不透明度", Float) = 1.0
_SpecularColor("反射色", Color) = (1,1,1)
_AmbColor("環境色", Color) = (1,1,1)
_Shininess("反射強度", Float) = 0
_MainTex("テクスチャ", 2D) = "white" {}
_ToonTex("トゥーン", 2D) = "white" {}
_SphereAddTex("スフィア(加算)", 2D) = "black" {}
_SphereMulTex("スフィア(乗算)", 2D) = "white" {}
}
SubShader
{
// Settings
Tags
{
"Queue" = "Geometry+2"
"RenderType" = "Transparent"
}
// Surface Shader
Cull Back
ZWrite On
Blend SrcAlpha OneMinusSrcAlpha
AlphaTest Greater 0.0
CGPROGRAM
#pragma surface surf MMD keepalpha
#pragma multi_compile SELFSHADOW_OFF SELFSHADOW_ON
#include "MeshPmdMaterialSurface.cginc"
ENDCG
// ShadowCast Pass
Pass
{
Tags
{
"LightMode" = "ShadowCaster"
}
Cull Off
Lighting Off
//Offset [_ShadowBias], [_ShadowBiasSlope] //使えない様なのでコメントアウト
AlphaTest Greater 0.25
CGPROGRAM
#pragma vertex shadow_vert
#pragma fragment shadow_frag
#include "UnityCG.cginc"
#include "MeshPmdMaterialShadowVertFrag.cginc"
ENDCG
}
}
// Other Environment
Fallback "Transparent/Diffuse"
}
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 131572510e2098449ad2c0d3ac4c0221
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,67 @@
/*
* MMD Shader for Unity
*
* Copyright 2012 Masataka SUMI, Takahiro INOUE
*
*    Licensed under the Apache License, Version 2.0 (the "License");
*    you may not use this file except in compliance with the License.
*    You may obtain a copy of the License at
*
*        http://www.apache.org/licenses/LICENSE-2.0
*
*    Unless required by applicable law or agreed to in writing, software
*    distributed under the License is distributed on an "AS IS" BASIS,
*    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*    See the License for the specific language governing permissions and
*    limitations under the License.
*/
Shader "MMD/Transparent/PMDMaterial-NoCastShadow"
{
Properties
{
_Color("拡散色", Color) = (1,1,1,1)
_Opacity("不透明度", Float) = 1.0
_SpecularColor("反射色", Color) = (1,1,1)
_AmbColor("環境色", Color) = (1,1,1)
_Shininess("反射強度", Float) = 0
_MainTex("テクスチャ", 2D) = "white" {}
_ToonTex("トゥーン", 2D) = "white" {}
_SphereAddTex("スフィア(加算)", 2D) = "black" {}
_SphereMulTex("スフィア(乗算)", 2D) = "white" {}
}
SubShader
{
// Settings
Tags
{
"Queue" = "Geometry+2"
"RenderType" = "Transparent"
}
// Surface Shader
Cull Front
ZWrite Off
Blend SrcAlpha OneMinusSrcAlpha
AlphaTest Greater 0.0
CGPROGRAM
#pragma surface surf MMD keepalpha
#pragma multi_compile SELFSHADOW_OFF SELFSHADOW_ON
#include "MeshPmdMaterialSurface.cginc"
ENDCG
// Surface Shader
Cull Back
ZWrite On
Blend SrcAlpha OneMinusSrcAlpha
AlphaTest Greater 0.0
CGPROGRAM
#pragma surface surf MMD keepalpha
#include "MeshPmdMaterialSurface.cginc"
ENDCG
}
// Other Environment
Fallback "Transparent/Diffuse"
}
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 4d4e93a8f67f71347878527ffa14f1da
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,87 @@
/*
* MMD Shader for Unity
*
* Copyright 2012 Masataka SUMI, Takahiro INOUE
*
*    Licensed under the Apache License, Version 2.0 (the "License");
*    you may not use this file except in compliance with the License.
*    You may obtain a copy of the License at
*
*        http://www.apache.org/licenses/LICENSE-2.0
*
*    Unless required by applicable law or agreed to in writing, software
*    distributed under the License is distributed on an "AS IS" BASIS,
*    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*    See the License for the specific language governing permissions and
*    limitations under the License.
*/
Shader "MMD/Transparent/PMDMaterial"
{
Properties
{
_Color("拡散色", Color) = (1,1,1,1)
_Opacity("不透明度", Float) = 1.0
_SpecularColor("反射色", Color) = (1,1,1)
_AmbColor("環境色", Color) = (1,1,1)
_Shininess("反射強度", Float) = 0
_MainTex("テクスチャ", 2D) = "white" {}
_ToonTex("トゥーン", 2D) = "white" {}
_SphereAddTex("スフィア(加算)", 2D) = "black" {}
_SphereMulTex("スフィア(乗算)", 2D) = "white" {}
}
SubShader
{
// Settings
Tags
{
"Queue" = "Geometry+2"
"RenderType" = "Transparent"
}
// Surface Shader
Cull Front
ZWrite Off
Blend SrcAlpha OneMinusSrcAlpha
AlphaTest Greater 0.0
CGPROGRAM
#pragma surface surf MMD keepalpha
#pragma multi_compile SELFSHADOW_OFF SELFSHADOW_ON
#include "MeshPmdMaterialSurface.cginc"
ENDCG
// Surface Shader
Cull Back
ZWrite On
Blend SrcAlpha OneMinusSrcAlpha
AlphaTest Greater 0.0
CGPROGRAM
#pragma surface surf MMD keepalpha
#include "MeshPmdMaterialSurface.cginc"
ENDCG
// ShadowCast Pass
Pass
{
Tags
{
"LightMode" = "ShadowCaster"
}
Cull Off
Lighting Off
//Offset [_ShadowBias], [_ShadowBiasSlope] //使えない様なのでコメントアウト
AlphaTest Greater 0.25
CGPROGRAM
#pragma vertex shadow_vert
#pragma fragment shadow_frag
#include "UnityCG.cginc"
#include "MeshPmdMaterialShadowVertFrag.cginc"
ENDCG
}
}
// Other Environment
Fallback "Transparent/Diffuse"
}
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 850c72c94eaa31b45b4ded8ad3951eaf
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,70 @@
/*
* MMD Shader for Unity
*
* Copyright 2012 Masataka SUMI, Takahiro INOUE
*
*    Licensed under the Apache License, Version 2.0 (the "License");
*    you may not use this file except in compliance with the License.
*    You may obtain a copy of the License at
*
*        http://www.apache.org/licenses/LICENSE-2.0
*
*    Unless required by applicable law or agreed to in writing, software
*    distributed under the License is distributed on an "AS IS" BASIS,
*    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*    See the License for the specific language governing permissions and
*    limitations under the License.
*/
Shader "MMD/PMDMaterial"
{
Properties
{
_Color("拡散色", Color) = (1,1,1,1)
_SpecularColor("反射色", Color) = (1,1,1)
_AmbColor("環境色", Color) = (1,1,1)
_Shininess("反射強度", Float) = 0
_MainTex("テクスチャ", 2D) = "white" {}
_ToonTex("トゥーン", 2D) = "white" {}
_SphereAddTex("スフィア(加算)", 2D) = "black" {}
_SphereMulTex("スフィア(乗算)", 2D) = "white" {}
}
SubShader
{
// First Pass
Pass
{
Cull Off
}
// Surface Shader
CGPROGRAM
#pragma surface surf MMD
#pragma multi_compile SELFSHADOW_OFF SELFSHADOW_ON
#include "MeshPmdMaterialSurface.cginc"
ENDCG
// ShadowCast Pass
Pass
{
Tags
{
"LightMode" = "ShadowCaster"
}
Cull Off
Lighting Off
//Offset [_ShadowBias], [_ShadowBiasSlope] //使えない様なのでコメントアウト
AlphaTest Greater 0.25
CGPROGRAM
#pragma vertex shadow_vert
#pragma fragment shadow_frag
#include "UnityCG.cginc"
#include "MeshPmdMaterialShadowVertFrag.cginc"
ENDCG
}
}
// Other Environment
Fallback "Diffuse"
}
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: ec7b78b42916c9b4c894b3e4a3e2f8c0
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,55 @@
/*
* MMD Shader for Unity
*
* Copyright 2012 Masataka SUMI, Takahiro INOUE
*
*    Licensed under the Apache License, Version 2.0 (the "License");
*    you may not use this file except in compliance with the License.
*    You may obtain a copy of the License at
*
*        http://www.apache.org/licenses/LICENSE-2.0
*
*    Unless required by applicable law or agreed to in writing, software
*    distributed under the License is distributed on an "AS IS" BASIS,
*    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*    See the License for the specific language governing permissions and
*    limitations under the License.
*/
Shader "MMD/Dummy"
{
Properties
{
_Color("拡散色", Color) = (1,1,1,1)
_Opacity("不透明度", Float) = 1.0
_SpecularColor("反射色", Color) = (1,1,1)
_AmbColor("環境色", Color) = (1,1,1)
_Shininess("反射強度", Float) = 0
_OutlineColor("エッジ色", Color) = (0,0,0,1)
_OutlineWidth("エッジ幅", Range(0,1)) = 0.2
_MainTex("テクスチャ", 2D) = "white" {}
_ToonTex("トゥーン", 2D) = "white" {}
_SphereAddTex("スフィア(加算)", 2D) = "black" {}
_SphereMulTex("スフィア(乗算)", 2D) = "white" {}
_DummyColor("ダミー色", Color) = (1,0,1,1)
_DummyOriginalShaderType("オリジナルシェーダータイプ", Float) = 0
}
SubShader
{
// First Pass
Pass
{
Color[_DummyColor]
Lighting Off
Cull Off
ZWrite On
ZTest LEqual
Offset 0, 0
AlphaTest Greater 0.0
}
}
// Other Environment
Fallback "Diffuse"
}
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 6e403e015449f7b4ba8c501578489f0c
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,67 @@
/*
* MMD Shader for Unity
*
* Copyright 2012 Masataka SUMI, Takahiro INOUE
*
*    Licensed under the Apache License, Version 2.0 (the "License");
*    you may not use this file except in compliance with the License.
*    You may obtain a copy of the License at
*
*        http://www.apache.org/licenses/LICENSE-2.0
*
*    Unless required by applicable law or agreed to in writing, software
*    distributed under the License is distributed on an "AS IS" BASIS,
*    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*    See the License for the specific language governing permissions and
*    limitations under the License.
*/
Shader "MMD/PMDMaterial-with-Outline-CullBack-NoCastShadow"
{
Properties
{
_Color("拡散色", Color) = (1,1,1,1)
_SpecularColor("反射色", Color) = (1,1,1)
_AmbColor("環境色", Color) = (1,1,1)
_Shininess("反射強度", Float) = 0
_OutlineColor("エッジ色", Color) = (0,0,0,1)
_OutlineWidth("エッジ幅", Range(0,1)) = 0.2
_MainTex("テクスチャ", 2D) = "white" {}
_ToonTex("トゥーン", 2D) = "white" {}
_SphereAddTex("スフィア(加算)", 2D) = "black" {}
_SphereMulTex("スフィア(乗算)", 2D) = "white" {}
}
SubShader
{
// Settings
Tags
{
"ForceNoShadowCasting" = "True"
}
// Surface Shader
Cull Back
CGPROGRAM
#pragma surface surf MMD
#pragma multi_compile SELFSHADOW_OFF SELFSHADOW_ON
#include "MeshPmdMaterialSurface.cginc"
ENDCG
// Outline Pass
Pass
{
Cull Front
Lighting Off
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
#include "UnityCG.cginc"
#include "MeshPmdMaterialVertFrag.cginc"
ENDCG
}
}
// Other Environment
Fallback "Diffuse"
}
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 0f3f49635e17095438204bb6b2a66f2c
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,81 @@
/*
* MMD Shader for Unity
*
* Copyright 2012 Masataka SUMI, Takahiro INOUE
*
*    Licensed under the Apache License, Version 2.0 (the "License");
*    you may not use this file except in compliance with the License.
*    You may obtain a copy of the License at
*
*        http://www.apache.org/licenses/LICENSE-2.0
*
*    Unless required by applicable law or agreed to in writing, software
*    distributed under the License is distributed on an "AS IS" BASIS,
*    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*    See the License for the specific language governing permissions and
*    limitations under the License.
*/
Shader "MMD/PMDMaterial-with-Outline-CullBack"
{
Properties
{
_Color("拡散色", Color) = (1,1,1,1)
_SpecularColor("反射色", Color) = (1,1,1)
_AmbColor("環境色", Color) = (1,1,1)
_Shininess("反射強度", Float) = 0
_OutlineColor("エッジ色", Color) = (0,0,0,1)
_OutlineWidth("エッジ幅", Range(0,1)) = 0.2
_MainTex("テクスチャ", 2D) = "white" {}
_ToonTex("トゥーン", 2D) = "white" {}
_SphereAddTex("スフィア(加算)", 2D) = "black" {}
_SphereMulTex("スフィア(乗算)", 2D) = "white" {}
}
SubShader
{
// Surface Shader
Cull Back
CGPROGRAM
#pragma surface surf MMD
#pragma multi_compile SELFSHADOW_OFF SELFSHADOW_ON
#include "MeshPmdMaterialSurface.cginc"
ENDCG
// Outline Pass
Pass
{
Cull Front
Lighting Off
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
#include "UnityCG.cginc"
#include "MeshPmdMaterialVertFrag.cginc"
ENDCG
}
// ShadowCast Pass
Pass
{
Tags
{
"LightMode" = "ShadowCaster"
}
Cull Off
Lighting Off
//Offset [_ShadowBias], [_ShadowBiasSlope] //使えない様なのでコメントアウト
AlphaTest Greater 0.25
CGPROGRAM
#pragma vertex shadow_vert
#pragma fragment shadow_frag
#include "UnityCG.cginc"
#include "MeshPmdMaterialShadowVertFrag.cginc"
ENDCG
}
}
// Other Environment
Fallback "Diffuse"
}
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: bfee4751c7c365f4a98e3e1deaaffcf2
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,67 @@
/*
* MMD Shader for Unity
*
* Copyright 2012 Masataka SUMI, Takahiro INOUE
*
*    Licensed under the Apache License, Version 2.0 (the "License");
*    you may not use this file except in compliance with the License.
*    You may obtain a copy of the License at
*
*        http://www.apache.org/licenses/LICENSE-2.0
*
*    Unless required by applicable law or agreed to in writing, software
*    distributed under the License is distributed on an "AS IS" BASIS,
*    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*    See the License for the specific language governing permissions and
*    limitations under the License.
*/
Shader "MMD/PMDMaterial-with-Outline-NoCastShadow"
{
Properties
{
_Color("拡散色", Color) = (1,1,1,1)
_SpecularColor("反射色", Color) = (1,1,1)
_AmbColor("環境色", Color) = (1,1,1)
_Shininess("反射強度", Float) = 0
_OutlineColor("エッジ色", Color) = (0,0,0,1)
_OutlineWidth("エッジ幅", Range(0,1)) = 0.2
_MainTex("テクスチャ", 2D) = "white" {}
_ToonTex("トゥーン", 2D) = "white" {}
_SphereAddTex("スフィア(加算)", 2D) = "black" {}
_SphereMulTex("スフィア(乗算)", 2D) = "white" {}
}
SubShader
{
// Settings
Tags
{
"ForceNoShadowCasting" = "True"
}
// Surface Shader
Cull Off
CGPROGRAM
#pragma surface surf MMD
#pragma multi_compile SELFSHADOW_OFF SELFSHADOW_ON
#include "MeshPmdMaterialSurface.cginc"
ENDCG
// Outline Pass
Pass
{
Cull Front
Lighting Off
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
#include "UnityCG.cginc"
#include "MeshPmdMaterialVertFrag.cginc"
ENDCG
}
}
// Other Environment
Fallback "Diffuse"
}
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: d36802937c7c6ea45b93a5032211415f
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,72 @@
/*
* MMD Shader for Unity
*
* Copyright 2012 Masataka SUMI, Takahiro INOUE
*
*    Licensed under the Apache License, Version 2.0 (the "License");
*    you may not use this file except in compliance with the License.
*    You may obtain a copy of the License at
*
*        http://www.apache.org/licenses/LICENSE-2.0
*
*    Unless required by applicable law or agreed to in writing, software
*    distributed under the License is distributed on an "AS IS" BASIS,
*    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*    See the License for the specific language governing permissions and
*    limitations under the License.
*/
Shader "MMD/Transparent/PMDMaterial-with-Outline-CullBack-NoCastShadow"
{
Properties
{
_Color("拡散色", Color) = (1,1,1,1)
_Opacity("不透明度", Float) = 1.0
_SpecularColor("反射色", Color) = (1,1,1)
_AmbColor("環境色", Color) = (1,1,1)
_Shininess("反射強度", Float) = 0
_OutlineColor("エッジ色", Color) = (0,0,0,1)
_OutlineWidth("エッジ幅", Range(0,1)) = 0.2
_MainTex("テクスチャ", 2D) = "white" {}
_ToonTex("トゥーン", 2D) = "white" {}
_SphereAddTex("スフィア(加算)", 2D) = "black" {}
_SphereMulTex("スフィア(乗算)", 2D) = "white" {}
}
SubShader
{
// Settings
Tags
{
"Queue" = "Geometry+2"
"RenderType" = "Transparent"
}
// Surface Shader Pass
Cull Back
ZWrite On
Blend SrcAlpha OneMinusSrcAlpha
AlphaTest Greater 0.0
CGPROGRAM
#pragma surface surf MMD keepalpha
#pragma multi_compile SELFSHADOW_OFF SELFSHADOW_ON
#include "MeshPmdMaterialSurface.cginc"
ENDCG
// Outline Pass
Pass
{
Cull Front
Lighting Off
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
#include "UnityCG.cginc"
#include "MeshPmdMaterialVertFrag.cginc"
ENDCG
}
}
// Other Environment
Fallback "Transparent/Diffuse"
}
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 22dcf7f6054975948a2561f9cc3113a5
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,92 @@
/*
* MMD Shader for Unity
*
* Copyright 2012 Masataka SUMI, Takahiro INOUE
*
*    Licensed under the Apache License, Version 2.0 (the "License");
*    you may not use this file except in compliance with the License.
*    You may obtain a copy of the License at
*
*        http://www.apache.org/licenses/LICENSE-2.0
*
*    Unless required by applicable law or agreed to in writing, software
*    distributed under the License is distributed on an "AS IS" BASIS,
*    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*    See the License for the specific language governing permissions and
*    limitations under the License.
*/
Shader "MMD/Transparent/PMDMaterial-with-Outline-CullBack"
{
Properties
{
_Color("拡散色", Color) = (1,1,1,1)
_Opacity("不透明度", Float) = 1.0
_SpecularColor("反射色", Color) = (1,1,1)
_AmbColor("環境色", Color) = (1,1,1)
_Shininess("反射強度", Float) = 0
_OutlineColor("エッジ色", Color) = (0,0,0,1)
_OutlineWidth("エッジ幅", Range(0,1)) = 0.2
_MainTex("テクスチャ", 2D) = "white" {}
_ToonTex("トゥーン", 2D) = "white" {}
_SphereAddTex("スフィア(加算)", 2D) = "black" {}
_SphereMulTex("スフィア(乗算)", 2D) = "white" {}
}
SubShader
{
// Settings
Tags
{
"Queue" = "Geometry+2"
"RenderType" = "Transparent"
}
// Surface Shader Pass
Cull Back
ZWrite On
Blend SrcAlpha OneMinusSrcAlpha
AlphaTest Greater 0.0
CGPROGRAM
#pragma surface surf MMD alpha keepalpha
#pragma multi_compile SELFSHADOW_OFF SELFSHADOW_ON
#include "MeshPmdMaterialSurface.cginc"
ENDCG
// Outline Pass
Pass
{
Cull Front
Lighting Off
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
#include "UnityCG.cginc"
#include "MeshPmdMaterialVertFrag.cginc"
ENDCG
}
// ShadowCast Pass
Pass
{
Tags
{
"LightMode" = "ShadowCaster"
}
Cull Off
Lighting Off
//Offset [_ShadowBias], [_ShadowBiasSlope] //使えない様なのでコメントアウト
AlphaTest Greater 0.25
CGPROGRAM
#pragma vertex shadow_vert
#pragma fragment shadow_frag
#include "UnityCG.cginc"
#include "MeshPmdMaterialShadowVertFrag.cginc"
ENDCG
}
}
// Other Environment
Fallback "Transparent/Diffuse"
}
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: fd87ac48bd4e44349a164ed7c5b12494
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,82 @@
/*
* MMD Shader for Unity
*
* Copyright 2012 Masataka SUMI, Takahiro INOUE
*
*    Licensed under the Apache License, Version 2.0 (the "License");
*    you may not use this file except in compliance with the License.
*    You may obtain a copy of the License at
*
*        http://www.apache.org/licenses/LICENSE-2.0
*
*    Unless required by applicable law or agreed to in writing, software
*    distributed under the License is distributed on an "AS IS" BASIS,
*    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*    See the License for the specific language governing permissions and
*    limitations under the License.
*/
Shader "MMD/Transparent/PMDMaterial-with-Outline-NoCastShadow"
{
Properties
{
_Color("拡散色", Color) = (1,1,1,1)
_Opacity("不透明度", Float) = 1.0
_SpecularColor("反射色", Color) = (1,1,1)
_AmbColor("環境色", Color) = (1,1,1)
_Shininess("反射強度", Float) = 0
_OutlineColor("エッジ色", Color) = (0,0,0,1)
_OutlineWidth("エッジ幅", Range(0,1)) = 0.2
_MainTex("テクスチャ", 2D) = "white" {}
_ToonTex("トゥーン", 2D) = "white" {}
_SphereAddTex("スフィア(加算)", 2D) = "black" {}
_SphereMulTex("スフィア(乗算)", 2D) = "white" {}
}
SubShader
{
// Settings
Tags
{
"Queue" = "Geometry+2"
"RenderType" = "Transparent"
}
// Surface Shader Pass ( Back )
Cull Front
ZWrite On
Blend SrcAlpha OneMinusSrcAlpha
AlphaTest Greater 0.0
CGPROGRAM
#pragma surface surf MMD keepalpha
#pragma multi_compile SELFSHADOW_OFF SELFSHADOW_ON
#include "MeshPmdMaterialSurface.cginc"
ENDCG
// Surface Shader Pass
Cull Back
ZWrite On
Blend SrcAlpha OneMinusSrcAlpha
AlphaTest Greater 0.0
CGPROGRAM
#pragma surface surf MMD keepalpha
#include "MeshPmdMaterialSurface.cginc"
ENDCG
// Outline Pass
Pass
{
Cull Front
Lighting Off
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
#include "UnityCG.cginc"
#include "MeshPmdMaterialVertFrag.cginc"
ENDCG
}
}
// Other Environment
Fallback "Transparent/Diffuse"
}
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 7dd9e14aec0d8a34085ea0307e35d348
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,101 @@
/*
* MMD Shader for Unity
*
* Copyright 2012 Masataka SUMI, Takahiro INOUE
*
*    Licensed under the Apache License, Version 2.0 (the "License");
*    you may not use this file except in compliance with the License.
*    You may obtain a copy of the License at
*
*        http://www.apache.org/licenses/LICENSE-2.0
*
*    Unless required by applicable law or agreed to in writing, software
*    distributed under the License is distributed on an "AS IS" BASIS,
*    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*    See the License for the specific language governing permissions and
*    limitations under the License.
*/
Shader "MMD/Transparent/PMDMaterial-with-Outline"
{
Properties
{
_Color("拡散色", Color) = (1,1,1,1)
_SpecularColor("反射色", Color) = (1,1,1)
_AmbColor("環境色", Color) = (1,1,1)
_Shininess("反射強度", Float) = 0
_OutlineColor("エッジ色", Color) = (0,0,0,1)
_OutlineWidth("エッジ幅", Range(0,1)) = 0.2
_MainTex("テクスチャ", 2D) = "white" {}
_ToonTex("トゥーン", 2D) = "white" {}
_SphereAddTex("スフィア(加算)", 2D) = "black" {}
_SphereMulTex("スフィア(乗算)", 2D) = "white" {}
}
SubShader
{
// Settings
Tags
{
"Queue" = "Geometry+2"
"RenderType" = "Transparent"
}
// Surface Shader Pass ( Back )
Cull Front
ZWrite On
Blend SrcAlpha OneMinusSrcAlpha
AlphaTest Greater 0.0
CGPROGRAM
#pragma surface surf MMD keepalpha
#include "MeshPmdMaterialSurface.cginc"
ENDCG
// Surface Shader Pass
Cull Back
ZWrite On
Blend SrcAlpha OneMinusSrcAlpha
AlphaTest Greater 0.0
CGPROGRAM
#pragma surface surf MMD keepalpha
#pragma multi_compile SELFSHADOW_OFF SELFSHADOW_ON
#include "MeshPmdMaterialSurface.cginc"
ENDCG
// Outline Pass
Pass
{
Cull Front
Lighting Off
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
#include "UnityCG.cginc"
#include "MeshPmdMaterialVertFrag.cginc"
ENDCG
}
// ShadowCast Pass
Pass
{
Tags
{
"LightMode" = "ShadowCaster"
}
Cull Off
Lighting Off
//Offset [_ShadowBias], [_ShadowBiasSlope] //使えない様なのでコメントアウト
AlphaTest Greater 0.25
CGPROGRAM
#pragma vertex shadow_vert
#pragma fragment shadow_frag
#include "UnityCG.cginc"
#include "MeshPmdMaterialShadowVertFrag.cginc"
ENDCG
}
}
// Other Environment
Fallback "Transparent/Diffuse"
}
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 58e8b0999450953478f32ee5bcaf2723
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,80 @@
/*
* MMD Shader for Unity
*
* Copyright 2012 Masataka SUMI, Takahiro INOUE
*
*    Licensed under the Apache License, Version 2.0 (the "License");
*    you may not use this file except in compliance with the License.
*    You may obtain a copy of the License at
*
*        http://www.apache.org/licenses/LICENSE-2.0
*
*    Unless required by applicable law or agreed to in writing, software
*    distributed under the License is distributed on an "AS IS" BASIS,
*    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*    See the License for the specific language governing permissions and
*    limitations under the License.
*/
Shader "MMD/PMDMaterial-with-Outline"
{
Properties
{
_Color("拡散色", Color) = (1,1,1,1)
_SpecularColor("反射色", Color) = (1,1,1)
_AmbColor("環境色", Color) = (1,1,1)
_Shininess("反射強度", Float) = 0
_OutlineColor("エッジ色", Color) = (0,0,0,1)
_OutlineWidth("エッジ幅", Range(0,1)) = 0.2
_MainTex("テクスチャ", 2D) = "white" {}
_ToonTex("トゥーン", 2D) = "white" {}
_SphereAddTex("スフィア(加算)", 2D) = "black" {}
_SphereMulTex("スフィア(乗算)", 2D) = "white" {}
}
SubShader
{
// Surface Shader
Cull Off
CGPROGRAM
#pragma surface surf MMD
#pragma multi_compile SELFSHADOW_OFF SELFSHADOW_ON
#include "MeshPmdMaterialSurface.cginc"
ENDCG
// Outline Pass
Pass
{
Cull Front
Lighting Off
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
#include "UnityCG.cginc"
#include "MeshPmdMaterialVertFrag.cginc"
ENDCG
}
// ShadowCast Pass
Pass
{
Tags
{
"LightMode" = "ShadowCaster"
}
Cull Off
Lighting Off
//Offset [_ShadowBias], [_ShadowBiasSlope] //使えない様なのでコメントアウト
AlphaTest Greater 0.25
CGPROGRAM
#pragma vertex shadow_vert
#pragma fragment shadow_frag
#include "UnityCG.cginc"
#include "MeshPmdMaterialShadowVertFrag.cginc"
ENDCG
}
}
// Other Environment
Fallback "Diffuse"
}
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: ab8920688200fc04b87e365997f5ea78
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,42 @@
// Upgrade NOTE: replaced 'mul(UNITY_MATRIX_MVP,*)' with 'UnityObjectToClipPos(*)'
/*
* MMD Shader for Unity
*
* Copyright 2012 Masataka SUMI, Takahiro INOUE
*
*    Licensed under the Apache License, Version 2.0 (the "License");
*    you may not use this file except in compliance with the License.
*    You may obtain a copy of the License at
*
*        http://www.apache.org/licenses/LICENSE-2.0
*
*    Unless required by applicable law or agreed to in writing, software
*    distributed under the License is distributed on an "AS IS" BASIS,
*    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*    See the License for the specific language governing permissions and
*    limitations under the License.
*/
float _Opacity;
sampler2D _MainTex;
float4 _MainTex_ST;
struct v2f
{
float4 pos : SV_POSITION;
float2 uv : TEXCOORD0;
};
v2f shadow_vert( appdata_img v )
{
v2f o;
o.pos = UnityObjectToClipPos(v.vertex);
o.uv = TRANSFORM_TEX(v.texcoord, _MainTex);
return o;
}
half4 shadow_frag( v2f i ) : COLOR
{
float4 tex_color = tex2D(_MainTex, i.uv);
return half4(0, 0, 0, tex_color.a * _Opacity);
}
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 60f01af13c880e54baa11c86da0c2ed5
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,91 @@
/*
* MMD Shader for Unity
*
* Copyright 2012 Masataka SUMI, Takahiro INOUE
*
*    Licensed under the Apache License, Version 2.0 (the "License");
*    you may not use this file except in compliance with the License.
*    You may obtain a copy of the License at
*
*        http://www.apache.org/licenses/LICENSE-2.0
*
*    Unless required by applicable law or agreed to in writing, software
*    distributed under the License is distributed on an "AS IS" BASIS,
*    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*    See the License for the specific language governing permissions and
*    limitations under the License.
*/
float4 _Color;
float _Opacity;
float4 _AmbColor;
float4 _SpecularColor;
float _Shininess;
sampler2D _MainTex;
sampler2D _ToonTex;
sampler2D _SphereAddTex;
sampler2D _SphereMulTex;
struct EditorSurfaceOutput
{
half3 Albedo;
half3 Normal;
half3 Emission;
half3 Gloss;
half Specular;
half Alpha;
half4 Custom;
};
inline half4 LightingMMD (EditorSurfaceOutput s, half3 lightDir, half3 viewDir, half atten)
{
// Specular
float specularStrength = s.Specular;
float dirDotNormalHalf = max(0, dot(s.Normal, normalize(lightDir + viewDir)));
float dirSpecularWeight = pow( dirDotNormalHalf, _Shininess );
float4 dirSpecular = _SpecularColor * _LightColor0 * dirSpecularWeight;
// ToonMap
#ifdef SELFSHADOW_ON
float lightStrength = atten;
#else
float lightStrength = dot(lightDir, s.Normal) * 0.5 + 0.5;
#endif
float4 toon = tex2D( _ToonTex, float2( specularStrength, lightStrength ) );
// Output
float4 color = saturate( _AmbColor + ( _Color * _LightColor0 ) );
color *= s.Custom;
color += saturate(dirSpecular);
color *= toon;
color.a = s.Alpha;
return color;
}
struct Input
{
float2 uv_MainTex;
};
void surf (Input IN, inout EditorSurfaceOutput o)
{
// Defaults
o.Albedo = 0.0;
o.Emission = 0.0;
o.Gloss = 0.0;
o.Specular = 0.0;
// Diffuse Map
float2 uv_coord = float2( IN.uv_MainTex.x, IN.uv_MainTex.y );
float4 tex_color = tex2D( _MainTex, uv_coord );
// Sphere Map
//float3 viewNormal = normalize( mul( UNITY_MATRIX_MV, float4(normalize(o.Normal), 0.0) ).xyz );//部分机型上这个不支持
float3 viewNormal = normalize(UnityObjectToViewPos(normalize(o.Normal)) - UnityObjectToViewPos(float3(0.0,0.0,0.0)));
float2 sphereUv = viewNormal.xy * 0.5 + 0.5;
float4 sphereAdd = tex2D( _SphereAddTex, sphereUv );
float4 sphereMul = tex2D( _SphereMulTex, sphereUv );
// Output
o.Custom = tex_color; // DiffuseTex Default:White
o.Custom += sphereAdd; // SphereAddTex Default:Black
o.Custom *= sphereMul; // SphereMulTex Default:White
o.Custom.a = 1.0;
o.Alpha = _Opacity * tex_color.a;
}
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 4288033d0e2c0bc4c9546e35b2ff4bf7
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,45 @@
// Upgrade NOTE: replaced 'mul(UNITY_MATRIX_MVP,*)' with 'UnityObjectToClipPos(*)'
/*
* MMD Shader for Unity
*
* Copyright 2012 Masataka SUMI, Takahiro INOUE
*
*    Licensed under the Apache License, Version 2.0 (the "License");
*    you may not use this file except in compliance with the License.
*    You may obtain a copy of the License at
*
*        http://www.apache.org/licenses/LICENSE-2.0
*
*    Unless required by applicable law or agreed to in writing, software
*    distributed under the License is distributed on an "AS IS" BASIS,
*    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*    See the License for the specific language governing permissions and
*    limitations under the License.
*/
float4 _Color;
float _Opacity;
float4 _OutlineColor;
float _OutlineWidth;
struct v2f
{
float4 pos : SV_POSITION;
float2 uv : TEXCOORD0;
};
v2f vert( appdata_base v )
{
v2f o;
float4 pos = UnityObjectToClipPos(v.vertex);
float4 normal = UnityObjectToClipPos(float4(v.normal, 0.0));
float width = _OutlineWidth / 1024.0; //目コピ調整値(算術根拠無し)
float depth_offset = pos.z / 4194304.0; //僅かに奥に移動(floatの仮数部は23bitなので(1<<21)程度で割った値は丸めに入らないが非常に小さな値の筈)
o.pos = pos + normal * float4(width, width, 0.0, 0.0) + float4(0.0, 0.0, depth_offset, 0.0);
return o;
}
half4 frag( v2f i ) : COLOR
{
return half4( _OutlineColor.rgb, _OutlineColor.a * _Opacity );
}
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: e4d61815c76a6744d9339fa5c04160e2
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant: