upscaled assets

- setup material for colourmapping
- adjust SpritesheetScaler to accept floating point scaling options
This commit is contained in:
minenice55 2022-08-11 17:08:47 -04:00
parent b04cf9d00e
commit 05a66be277
28 changed files with 1315 additions and 713 deletions

View file

@ -6,7 +6,7 @@ public class SpritesheetScaler : EditorWindow
{
Object source;
int multiplier = 1;
float multiplier = 1;
int inflateX = 0;
int inflateY = 0;
@ -28,7 +28,7 @@ public class SpritesheetScaler : EditorWindow
GUILayout.BeginHorizontal();
GUILayout.Label("Multiplier:", EditorStyles.boldLabel);
multiplier = EditorGUILayout.IntField(multiplier, GUILayout.Width(220));
multiplier = EditorGUILayout.FloatField(multiplier, GUILayout.Width(220));
GUILayout.EndHorizontal();
GUILayout.Space(5f);
@ -68,7 +68,7 @@ public class SpritesheetScaler : EditorWindow
bool wasReadable = ti1.isReadable;
ti1.isReadable = true;
ti1.spritePixelsPerUnit *= multiplier;
ti1.spritePixelsPerUnit = (ti1.spritePixelsPerUnit * multiplier);
List<SpriteMetaData> newData = new List<SpriteMetaData>();
@ -102,7 +102,7 @@ public class SpritesheetScaler : EditorWindow
AssetDatabase.ImportAsset(sourcePath, ImportAssetOptions.ForceUpdate);
}
Rect ScaleRect(Rect source, int mult, int inflateX, int inflateY)
Rect ScaleRect(Rect source, float mult, int inflateX, int inflateY)
{
var newRect = new Rect();
newRect.Set((source.x - inflateX) * mult, (source.y - inflateY) * mult, (source.width + inflateX*2) * mult, (source.height + inflateY*2) * mult);

View file

@ -27,7 +27,7 @@ Transform:
m_GameObject: {fileID: 185016033042157469}
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_LocalScale: {x: 0.14, y: 0.14, z: 1}
m_Children: []
m_Father: {fileID: 1483789816297415762}
m_RootOrder: 4
@ -5217,8 +5217,10 @@ MonoBehaviour:
- {fileID: 6493772388133163186}
inCombo: 0
lockedInCombo: 0
comboWaiting: 0
wantKick: 0
inKick: 0
wantFace: 0
--- !u!1 &676219503303960657
GameObject:
m_ObjectHideFlags: 0
@ -5351,7 +5353,7 @@ SpriteRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 2100000, guid: 01a12550d4a6d8141bbbdf4ce2700eea, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -20371,7 +20373,7 @@ SpriteRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 2100000, guid: 01a12550d4a6d8141bbbdf4ce2700eea, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -20455,7 +20457,7 @@ SpriteRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 2100000, guid: 01a12550d4a6d8141bbbdf4ce2700eea, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -20822,7 +20824,7 @@ SpriteRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 2100000, guid: 01a12550d4a6d8141bbbdf4ce2700eea, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -25850,7 +25852,7 @@ SpriteRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 2100000, guid: 01a12550d4a6d8141bbbdf4ce2700eea, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -30736,7 +30738,7 @@ SpriteRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 2100000, guid: 01a12550d4a6d8141bbbdf4ce2700eea, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -30872,7 +30874,7 @@ SpriteRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 2100000, guid: 01a12550d4a6d8141bbbdf4ce2700eea, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -31007,7 +31009,7 @@ SpriteRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 2100000, guid: 01a12550d4a6d8141bbbdf4ce2700eea, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -31089,7 +31091,7 @@ SpriteRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 2100000, guid: 01a12550d4a6d8141bbbdf4ce2700eea, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -31393,7 +31395,7 @@ Transform:
m_GameObject: {fileID: 2790469215453043610}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0.5, z: 0}
m_LocalScale: {x: 50, y: 1, z: 1}
m_LocalScale: {x: 50, y: 0.2, z: 1}
m_Children: []
m_Father: {fileID: 1483789816297415762}
m_RootOrder: 3
@ -31733,7 +31735,7 @@ ParticleSystem:
startSize:
serializedVersion: 2
minMaxState: 0
scalar: 1.1
scalar: 0.64
minScalar: 1
maxCurve:
serializedVersion: 2
@ -46482,7 +46484,7 @@ SpriteRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 2100000, guid: 01a12550d4a6d8141bbbdf4ce2700eea, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -56430,7 +56432,7 @@ SpriteRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 2100000, guid: 01a12550d4a6d8141bbbdf4ce2700eea, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -56512,7 +56514,7 @@ SpriteRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 2100000, guid: 01a12550d4a6d8141bbbdf4ce2700eea, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -61539,7 +61541,7 @@ SpriteRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 2100000, guid: 01a12550d4a6d8141bbbdf4ce2700eea, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -61589,7 +61591,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!4 &4468064543835661468
Transform:
m_ObjectHideFlags: 0
@ -61775,7 +61777,7 @@ SpriteRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 2100000, guid: 01a12550d4a6d8141bbbdf4ce2700eea, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -67086,7 +67088,7 @@ ParticleSystem:
startSize:
serializedVersion: 2
minMaxState: 0
scalar: 1.1
scalar: 0.64
minScalar: 1
maxCurve:
serializedVersion: 2
@ -101580,7 +101582,7 @@ SpriteRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 2100000, guid: 01a12550d4a6d8141bbbdf4ce2700eea, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -101709,7 +101711,7 @@ SpriteRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 2100000, guid: 01a12550d4a6d8141bbbdf4ce2700eea, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -102015,7 +102017,7 @@ SpriteRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 2100000, guid: 01a12550d4a6d8141bbbdf4ce2700eea, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -102447,7 +102449,7 @@ SpriteRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 2100000, guid: 01a12550d4a6d8141bbbdf4ce2700eea, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -112677,7 +112679,7 @@ SpriteRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 2100000, guid: 01a12550d4a6d8141bbbdf4ce2700eea, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0

View file

@ -52,7 +52,7 @@ TextureImporter:
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spritePixelsToUnits: 487.5
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
@ -71,7 +71,7 @@ TextureImporter:
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
maxTextureSize: 256
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
@ -83,7 +83,7 @@ TextureImporter:
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
maxTextureSize: 256
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
@ -101,15 +101,15 @@ TextureImporter:
rect:
serializedVersion: 2
x: 0
y: 32
width: 64
height: 32
y: 156
width: 312
height: 156
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
tessellationDetail: -1
bones: []
spriteID: 31b518f58e6916540800000000000000
internalID: 4999442986136853267
@ -123,14 +123,14 @@ TextureImporter:
serializedVersion: 2
x: 0
y: 0
width: 64
height: 32
width: 312
height: 156
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
tessellationDetail: -1
bones: []
spriteID: 0128a733eb383b850800000000000000
internalID: 6391597149099557392

View file

@ -65,7 +65,19 @@ TextureImporter:
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
maxTextureSize: 256
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 256
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1

View file

@ -0,0 +1,108 @@
fileFormatVersion: 2
guid: 0ff5e12838ee98e42b99349792067ea4
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
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: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
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: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 256
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 256
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,108 @@
fileFormatVersion: 2
guid: d5fab48b3071cd440ba6a10c739e699b
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
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: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
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: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 256
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 256
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

View file

@ -76,7 +76,7 @@ TextureImporter:
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spritePixelsToUnits: 487.5
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
@ -95,7 +95,7 @@ TextureImporter:
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
maxTextureSize: 512
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
@ -107,7 +107,7 @@ TextureImporter:
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
maxTextureSize: 512
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
@ -125,15 +125,15 @@ TextureImporter:
rect:
serializedVersion: 2
x: 0
y: 32
width: 24
height: 32
y: 156
width: 117
height: 156
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
tessellationDetail: -1
bones: []
spriteID: 3f303db64038de4c0800000000000000
internalID: -4256602017783151629
@ -145,16 +145,16 @@ TextureImporter:
name: barrelWood_1
rect:
serializedVersion: 2
x: 26
y: 32
width: 24
height: 32
x: 126.75
y: 156
width: 117
height: 156
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
tessellationDetail: -1
bones: []
spriteID: 7ce0e1d2604bec630800000000000000
internalID: 3949291861870251719
@ -166,16 +166,16 @@ TextureImporter:
name: barrelWood_2
rect:
serializedVersion: 2
x: 52
y: 32
width: 24
height: 32
x: 253.5
y: 156
width: 117
height: 156
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
tessellationDetail: -1
bones: []
spriteID: 7f6581d972e274490800000000000000
internalID: -7762184685075540233
@ -187,16 +187,16 @@ TextureImporter:
name: barrelWood_3
rect:
serializedVersion: 2
x: 78
y: 32
width: 24
height: 32
x: 380.25
y: 156
width: 117
height: 156
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
tessellationDetail: -1
bones: []
spriteID: cc620c8313c4d7d50800000000000000
internalID: 6736624391905355468
@ -208,16 +208,16 @@ TextureImporter:
name: barrelWood_4
rect:
serializedVersion: 2
x: 104
y: 32
width: 24
height: 32
x: 507
y: 156
width: 117
height: 156
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
tessellationDetail: -1
bones: []
spriteID: 5e58f5b4b65e05a90800000000000000
internalID: -7327104344742984219
@ -231,14 +231,14 @@ TextureImporter:
serializedVersion: 2
x: 0
y: 0
width: 24
height: 32
width: 117
height: 156
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
tessellationDetail: -1
bones: []
spriteID: 6ec25a65df9222140800000000000000
internalID: 4693359929730608358
@ -250,16 +250,16 @@ TextureImporter:
name: barrelWood_6
rect:
serializedVersion: 2
x: 26
x: 126.75
y: 0
width: 24
height: 32
width: 117
height: 156
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
tessellationDetail: -1
bones: []
spriteID: 6e8ed5ac148a8c3e0800000000000000
internalID: -2033190231236286234
@ -271,16 +271,16 @@ TextureImporter:
name: barrelWood_7
rect:
serializedVersion: 2
x: 52
x: 253.5
y: 0
width: 24
height: 32
width: 117
height: 156
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
tessellationDetail: -1
bones: []
spriteID: 0d99d142c9ded67d0800000000000000
internalID: -2923419328216983088
@ -292,16 +292,16 @@ TextureImporter:
name: barrelWood_8
rect:
serializedVersion: 2
x: 78
x: 380.25
y: 0
width: 24
height: 32
width: 117
height: 156
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
tessellationDetail: -1
bones: []
spriteID: faf60687f07bba840800000000000000
internalID: 5236480268820311983
@ -313,16 +313,16 @@ TextureImporter:
name: barrelWood_9
rect:
serializedVersion: 2
x: 104
x: 507
y: 0
width: 24
height: 32
width: 117
height: 156
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
tessellationDetail: -1
bones: []
spriteID: ec8c0c853350e0770800000000000000
internalID: 8578800058277873870

View file

@ -0,0 +1,96 @@
fileFormatVersion: 2
guid: 504ca8701fa54274888135321e06bd90
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
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: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
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: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

View file

@ -70,7 +70,7 @@ TextureImporter:
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spritePixelsToUnits: 500
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
@ -89,7 +89,7 @@ TextureImporter:
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
maxTextureSize: 1024
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
@ -101,7 +101,7 @@ TextureImporter:
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
maxTextureSize: 1024
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
@ -119,15 +119,15 @@ TextureImporter:
rect:
serializedVersion: 2
x: 0
y: 64
width: 64
height: 64
y: 320
width: 320
height: 320
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
tessellationDetail: -1
bones: []
spriteID: 0b4b3d13d31aaa370800000000000000
internalID: 8334651344603559088
@ -139,16 +139,16 @@ TextureImporter:
name: fire_1
rect:
serializedVersion: 2
x: 64
y: 64
width: 64
height: 64
x: 320
y: 320
width: 320
height: 320
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
tessellationDetail: -1
bones: []
spriteID: a5bcaaf696c7ebf70800000000000000
internalID: 9204931480678746970
@ -160,16 +160,16 @@ TextureImporter:
name: fire_2
rect:
serializedVersion: 2
x: 128
y: 64
width: 64
height: 64
x: 640
y: 320
width: 320
height: 320
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
tessellationDetail: -1
bones: []
spriteID: dcde05733e4acfb80800000000000000
internalID: -8359625512513901107
@ -181,16 +181,16 @@ TextureImporter:
name: fire_3
rect:
serializedVersion: 2
x: 192
y: 64
width: 64
height: 64
x: 960
y: 320
width: 320
height: 320
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
tessellationDetail: -1
bones: []
spriteID: 83e62bc8dee305c60800000000000000
internalID: 7804807344221744696
@ -204,14 +204,14 @@ TextureImporter:
serializedVersion: 2
x: 0
y: 0
width: 64
height: 64
width: 320
height: 320
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
tessellationDetail: -1
bones: []
spriteID: 4739041c9040a8180800000000000000
internalID: -9112466456087325836
@ -223,16 +223,16 @@ TextureImporter:
name: fire_5
rect:
serializedVersion: 2
x: 64
x: 320
y: 0
width: 64
height: 64
width: 320
height: 320
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
tessellationDetail: -1
bones: []
spriteID: 90c363eb5b4e66200800000000000000
internalID: 173077104931781641
@ -244,16 +244,16 @@ TextureImporter:
name: fire_6
rect:
serializedVersion: 2
x: 128
x: 640
y: 0
width: 64
height: 64
width: 320
height: 320
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
tessellationDetail: -1
bones: []
spriteID: 6839b5b53706b2db0800000000000000
internalID: -4815649327972379770
@ -265,16 +265,16 @@ TextureImporter:
name: fire_7
rect:
serializedVersion: 2
x: 192
x: 960
y: 0
width: 64
height: 64
width: 320
height: 320
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
tessellationDetail: -1
bones: []
spriteID: 559f3c8855d8c5e00800000000000000
internalID: 1034857412894652757

View file

@ -65,7 +65,7 @@ TextureImporter:
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
maxTextureSize: 256
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 0
@ -77,7 +77,7 @@ TextureImporter:
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
maxTextureSize: 256
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 0

View file

@ -75,6 +75,18 @@ TextureImporter:
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []

View file

@ -65,7 +65,19 @@ TextureImporter:
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
maxTextureSize: 256
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 256
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1

View file

@ -65,7 +65,19 @@ TextureImporter:
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
maxTextureSize: 512
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 512
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1

View file

@ -70,7 +70,7 @@ TextureImporter:
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spritePixelsToUnits: 500
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
@ -89,7 +89,7 @@ TextureImporter:
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
maxTextureSize: 1024
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
@ -101,7 +101,7 @@ TextureImporter:
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
maxTextureSize: 1024
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
@ -119,15 +119,15 @@ TextureImporter:
rect:
serializedVersion: 2
x: 0
y: 64
width: 64
height: 64
y: 320
width: 320
height: 320
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
tessellationDetail: -1
bones: []
spriteID: 9dbc3a1b8169bab30800000000000000
internalID: 4299695302058953689
@ -139,16 +139,16 @@ TextureImporter:
name: other_1
rect:
serializedVersion: 2
x: 64
y: 64
width: 64
height: 64
x: 320
y: 320
width: 320
height: 320
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
tessellationDetail: -1
bones: []
spriteID: 6741f99429108bfc0800000000000000
internalID: -3479028984331692938
@ -160,16 +160,16 @@ TextureImporter:
name: other_2
rect:
serializedVersion: 2
x: 128
y: 64
width: 64
height: 64
x: 640
y: 320
width: 320
height: 320
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
tessellationDetail: -1
bones: []
spriteID: 31c8ddcd856db7550800000000000000
internalID: 6159752592510258195
@ -181,16 +181,16 @@ TextureImporter:
name: other_3
rect:
serializedVersion: 2
x: 192
y: 64
width: 64
height: 64
x: 960
y: 320
width: 320
height: 320
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
tessellationDetail: -1
bones: []
spriteID: adbf4894f0ff0ce10800000000000000
internalID: 2216051457789328346
@ -204,14 +204,14 @@ TextureImporter:
serializedVersion: 2
x: 0
y: 0
width: 64
height: 64
width: 320
height: 320
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
tessellationDetail: -1
bones: []
spriteID: 7f72497a5da7c6c10800000000000000
internalID: 2048146988604860407
@ -223,16 +223,16 @@ TextureImporter:
name: other_5
rect:
serializedVersion: 2
x: 64
x: 320
y: 0
width: 64
height: 64
width: 320
height: 320
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
tessellationDetail: -1
bones: []
spriteID: 6b4fc551a4e490120800000000000000
internalID: 2380519958134977718
@ -244,16 +244,16 @@ TextureImporter:
name: other_6
rect:
serializedVersion: 2
x: 128
x: 640
y: 0
width: 64
height: 64
width: 320
height: 320
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
tessellationDetail: -1
bones: []
spriteID: 5ad80d0bf2e194a90800000000000000
internalID: -7329293728390017627
@ -265,16 +265,16 @@ TextureImporter:
name: other_7
rect:
serializedVersion: 2
x: 192
x: 960
y: 0
width: 64
height: 64
width: 320
height: 320
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
tessellationDetail: -1
bones: []
spriteID: 6b916a27ff452a0d0800000000000000
internalID: -3413072111476532810

View file

@ -65,7 +65,7 @@ TextureImporter:
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
maxTextureSize: 64
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 0
@ -77,7 +77,7 @@ TextureImporter:
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
maxTextureSize: 64
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 0

View file

@ -58,7 +58,7 @@ TextureImporter:
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spritePixelsToUnits: 487.5
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
@ -77,7 +77,7 @@ TextureImporter:
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
maxTextureSize: 128
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
@ -89,7 +89,7 @@ TextureImporter:
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
maxTextureSize: 128
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
@ -107,15 +107,15 @@ TextureImporter:
rect:
serializedVersion: 2
x: 0
y: 16
width: 16
height: 16
y: 78
width: 78
height: 78
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
tessellationDetail: -1
bones: []
spriteID: a3bbde969f04d98f0800000000000000
internalID: -532197740991628486
@ -127,16 +127,16 @@ TextureImporter:
name: rockEmitter_1
rect:
serializedVersion: 2
x: 16
y: 16
width: 16
height: 16
x: 78
y: 78
width: 78
height: 78
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
tessellationDetail: -1
bones: []
spriteID: efbd2db85f8f7e6c0800000000000000
internalID: -4114046001083130882
@ -150,14 +150,14 @@ TextureImporter:
serializedVersion: 2
x: 0
y: 0
width: 16
height: 16
width: 78
height: 78
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
tessellationDetail: -1
bones: []
spriteID: c719f8c7c13522090800000000000000
internalID: -8060789001225793156
@ -169,16 +169,16 @@ TextureImporter:
name: rockEmitter_3
rect:
serializedVersion: 2
x: 16
x: 78
y: 0
width: 16
height: 16
width: 78
height: 78
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
tessellationDetail: -1
bones: []
spriteID: 799e93023da35a640800000000000000
internalID: 5090539632265390487

View file

@ -65,7 +65,7 @@ TextureImporter:
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 512
maxTextureSize: 1024
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 0
@ -77,7 +77,7 @@ TextureImporter:
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 512
maxTextureSize: 1024
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 0

View file

@ -46,7 +46,7 @@ TextureImporter:
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 72
spritePixelsToUnits: 45
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1

View file

@ -46,7 +46,7 @@ TextureImporter:
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 72
spritePixelsToUnits: 45
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1

View file

@ -46,7 +46,7 @@ TextureImporter:
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 72
spritePixelsToUnits: 45
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1

View file

@ -46,7 +46,7 @@ TextureImporter:
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 72
spritePixelsToUnits: 45
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1

View file

@ -46,7 +46,7 @@ TextureImporter:
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 72
spritePixelsToUnits: 263.30402
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
@ -65,7 +65,7 @@ TextureImporter:
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
maxTextureSize: 512
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
@ -77,7 +77,7 @@ TextureImporter:
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
maxTextureSize: 512
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1

View file

@ -0,0 +1,78 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: karateman_cellshader
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 01a12550d4a6d8141bbbdf4ce2700eea
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

View file

@ -35,6 +35,18 @@ TextureImporter:
- first:
213: -1955128575254565707
second: karateman_word_hit_en
- first:
213: -5610626859485252548
second: karateman_word_1
- first:
213: 1214470814246859168
second: karateman_word_2
- first:
213: 3512758288782026156
second: karateman_word_3
- first:
213: -1278344009149830369
second: karateman_word_4
externalObjects: {}
serializedVersion: 11
mipmaps:
@ -79,7 +91,7 @@ TextureImporter:
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spritePixelsToUnits: 488.28125
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
@ -127,10 +139,10 @@ TextureImporter:
name: karateman_word_1
rect:
serializedVersion: 2
x: 10
y: 411
width: 52
height: 91
x: 48.828125
y: 2006.8359
width: 253.90625
height: 444.33594
alignment: 9
pivot: {x: 0.37538463, y: 0.27765027}
border: {x: 0, y: 0, z: 0, w: 0}
@ -138,27 +150,6 @@ TextureImporter:
physicsShape: []
tessellationDetail: -1
bones: []
spriteID: 84891ecd3d7addc60800000000000000
internalID: 7844610654334982216
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: karateman_word_2
rect:
serializedVersion: 2
x: 80
y: 412
width: 88
height: 87
alignment: 9
pivot: {x: 0.28342247, y: 0.28539795}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: -1
bones: []
spriteID: c34bd11099c0322b0800000000000000
internalID: -5610626859485252548
vertices: []
@ -166,15 +157,15 @@ TextureImporter:
edges: []
weights: []
- serializedVersion: 2
name: karateman_word_3
name: karateman_word_2
rect:
serializedVersion: 2
x: 189
y: 403
width: 81
height: 99
x: 390.625
y: 2011.7188
width: 429.6875
height: 424.8047
alignment: 9
pivot: {x: 0.29782745, y: 0.26331338}
pivot: {x: 0.28342247, y: 0.28539795}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
@ -187,15 +178,15 @@ TextureImporter:
edges: []
weights: []
- serializedVersion: 2
name: karateman_word_4
name: karateman_word_3
rect:
serializedVersion: 2
x: 289
y: 404
width: 86
height: 90
x: 922.85156
y: 1967.7734
width: 395.5078
height: 483.39844
alignment: 9
pivot: {x: 0.28740036, y: 0.27954915}
pivot: {x: 0.29782745, y: 0.26331338}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
@ -208,15 +199,15 @@ TextureImporter:
edges: []
weights: []
- serializedVersion: 2
name: karateman_word_exclaim
name: karateman_word_4
rect:
serializedVersion: 2
x: 393
y: 403
width: 38
height: 92
x: 1411.1328
y: 1972.6562
width: 419.92188
height: 439.45312
alignment: 9
pivot: {x: 0.4259483, y: 0.27577642}
pivot: {x: 0.28740036, y: 0.27954915}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
@ -228,14 +219,35 @@ TextureImporter:
indices:
edges: []
weights: []
- serializedVersion: 2
name: karateman_word_exclaim
rect:
serializedVersion: 2
x: 1918.9453
y: 1967.7734
width: 185.54688
height: 449.21875
alignment: 9
pivot: {x: 0.4259483, y: 0.27577642}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: -1
bones: []
spriteID: 84891ecd3d7addc60800000000000000
internalID: 7844610654334982216
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: karateman_word_combo_jp
rect:
serializedVersion: 2
x: 10
y: 284
width: 140
height: 98
x: 48.828125
y: 1386.7188
width: 683.59375
height: 478.51562
alignment: 9
pivot: {x: 0.20790271, y: 0.26502648}
border: {x: 0, y: 0, z: 0, w: 0}
@ -253,10 +265,10 @@ TextureImporter:
name: karateman_word_mu_jp
rect:
serializedVersion: 2
x: 168
y: 292
width: 88
height: 81
x: 820.3125
y: 1425.7812
width: 429.6875
height: 395.5078
alignment: 9
pivot: {x: 0.28342247, y: 0.29782745}
border: {x: 0, y: 0, z: 0, w: 0}
@ -274,10 +286,10 @@ TextureImporter:
name: karateman_word_hit_jp
rect:
serializedVersion: 2
x: 276
y: 297
width: 82
height: 63
x: 1347.6562
y: 1450.1953
width: 400.39062
height: 307.6172
alignment: 9
pivot: {x: 0.2956848, y: 0.3420565}
border: {x: 0, y: 0, z: 0, w: 0}
@ -295,10 +307,10 @@ TextureImporter:
name: karateman_word_combo_en
rect:
serializedVersion: 2
x: 6
y: 181
width: 244
height: 86
x: 29.296875
y: 883.78906
width: 1191.4062
height: 419.92188
alignment: 9
pivot: {x: 0.13518976, y: 0.2874002}
border: {x: 0, y: 0, z: 0, w: 0}
@ -316,10 +328,10 @@ TextureImporter:
name: karateman_word_mu_en
rect:
serializedVersion: 2
x: 262
y: 187
width: 156
height: 82
x: 1279.2969
y: 913.08594
width: 761.71875
height: 400.39062
alignment: 9
pivot: {x: 0.19205631, y: 0.2956848}
border: {x: 0, y: 0, z: 0, w: 0}
@ -337,10 +349,10 @@ TextureImporter:
name: karateman_word_hit_en
rect:
serializedVersion: 2
x: 9
y: 92
width: 113
height: 80
x: 43.945312
y: 449.21875
width: 551.7578
height: 390.625
alignment: 9
pivot: {x: 0.24141154, y: 0.3}
border: {x: 0, y: 0, z: 0, w: 0}

View file

@ -0,0 +1,126 @@
Shader "Sprites/CellAnime_Mapped"
{
Properties
{
[PerRendererData] _MainTex ("Sprite Texture", 2D) = "white" {}
_Color ("Tint", Color) = (1,1,1,1)
_ColorAlpha ("Red Colourmap", Color) = (1,1,1,1)
_ColorBravo ("Green Colourmap", Color) = (1,1,1,1)
_ColorDelta ("Blue Colourmap", Color) = (1,1,1,1)
_AddColor ("Screen", Color) = (0,0,0,0)
_StencilComp ("Stencil Comparison", Float) = 8
_Stencil ("Stencil ID", Float) = 0
_StencilOp ("Stencil Operation", Float) = 0
_StencilWriteMask ("Stencil Write Mask", Float) = 255
_StencilReadMask ("Stencil Read Mask", Float) = 255
_ColorMask ("Color Mask", Float) = 15
[Toggle(UNITY_UI_ALPHACLIP)] _UseUIAlphaClip ("Use Alpha Clip", Float) = 0
}
SubShader
{
Tags
{
"Queue"="Transparent"
"IgnoreProjector"="True"
"RenderType"="Transparent"
"PreviewType"="Plane"
"CanUseSpriteAtlas"="True"
}
Stencil
{
Ref [_Stencil]
Comp [_StencilComp]
Pass [_StencilOp]
ReadMask [_StencilReadMask]
WriteMask [_StencilWriteMask]
}
Cull Off
Lighting Off
ZWrite Off
ZTest [unity_GUIZTestMode]
Blend SrcAlpha OneMinusSrcAlpha
ColorMask [_ColorMask]
Pass
{
Name "Default"
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
#pragma target 2.0
#include "UnityCG.cginc"
#include "UnityUI.cginc"
#pragma multi_compile_local _ UNITY_UI_CLIP_RECT
#pragma multi_compile_local _ UNITY_UI_ALPHACLIP
struct appdata_t
{
float4 vertex : POSITION;
float4 color : COLOR;
float2 texcoord : TEXCOORD0;
UNITY_VERTEX_INPUT_INSTANCE_ID
};
struct v2f
{
float4 vertex : SV_POSITION;
fixed4 color : COLOR;
float2 texcoord : TEXCOORD0;
float4 worldPosition : TEXCOORD1;
UNITY_VERTEX_OUTPUT_STEREO
};
sampler2D _MainTex;
fixed4 _Color;
fixed4 _ColorAlpha;
fixed4 _ColorBravo;
fixed4 _ColorDelta;
fixed4 _AddColor;
fixed4 _TextureSampleAdd;
float4 _ClipRect;
float4 _MainTex_ST;
v2f vert(appdata_t v)
{
v2f OUT;
UNITY_SETUP_INSTANCE_ID(v);
UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(OUT);
OUT.worldPosition = v.vertex;
OUT.vertex = UnityObjectToClipPos(OUT.worldPosition);
OUT.texcoord = TRANSFORM_TEX(v.texcoord, _MainTex);
OUT.color = v.color;
return OUT;
}
fixed4 frag(v2f IN) : SV_Target
{
half4 color = (tex2D(_MainTex, IN.texcoord) + _TextureSampleAdd) * IN.color;
half4 mappedColor = _ColorAlpha * color.r + _ColorBravo * color.g + _ColorDelta * color.b;
half a = color.a;
fixed4 screen = 1.0 - (1.0 - _AddColor.rgba) * (1.0 - mappedColor.rgba);
color = screen * _Color.rgba;
color.a = a;
#ifdef UNITY_UI_CLIP_RECT
color.a *= UnityGet2DClipping(IN.worldPosition.xy, _ClipRect);
#endif
#ifdef UNITY_UI_ALPHACLIP
clip (color.a - 0.001);
#endif
return color;
}
ENDCG
}
}
}

View file

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: ff54fed5718ccc543808dec1f266d1c8
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
preprocessorOverride: 0
userData:
assetBundleName:
assetBundleVariant: