2026-04-16 오브젝트 그림자

This commit is contained in:
skrwns304@gmail.com
2026-04-16 04:58:10 +09:00
parent 0fe8b18872
commit 42646a636f
303 changed files with 54374 additions and 20 deletions

View File

@@ -0,0 +1,3 @@
Note that we are not using the official Spine package here. I have simply placed a Spine mesh in the scene and applied the BGAreaSpineLit.shader, which is sufficient for testing purposes.
If you are working on an actual Spine project, please use the official Spine package along with its required scripts, and then apply my shader accordingly.

View File

@@ -0,0 +1,14 @@
fileFormatVersion: 2
guid: 2726c9eb09da9384e8ea1b25ca83b406
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
AssetOrigin:
serializedVersion: 1
productId: 346790
packageName: Realtime Area Light for URP
packageVersion: 1.3.0
assetPath: Packages/com.baddog.rendering.arealight/Samples/Spine/README.txt
uploadId: 884030

View File

@@ -0,0 +1,66 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: spineboy
m_Shader: {fileID: 4800000, guid: f879e5cab3db4519a757f17400a9de49, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _STRAIGHT_ALPHA_INPUT
m_InvalidKeywords:
- _ADAPTIVE_PROBE_VOLUMES_PER_PIXEL
- _USE8NEIGHBOURHOOD_ON
m_LightmapFlags: 5
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 2800000, guid: 90216cadd37249c4cafa50f56d3f7b81, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- PixelSnap: 0
- _AdaptiveProbeVolumesPerPixel: 1
- _CloakPhase: 0
- _Cutoff: 0.1
- _DarkColorAlphaAdditive: 0
- _DoubleSidedLighting: 0
- _Fill: 0
- _FillPhase: 0
- _LightAffectsAdditive: 0
- _OutlineMipLevel: 0
- _OutlineOpaqueAlpha: 1
- _OutlineReferenceTexWidth: 1024
- _OutlineSmoothness: 1
- _OutlineWidth: 3
- _ReceiveShadows: 0
- _RefractionStrength: 0.01
- _StencilComp: 8
- _StencilRef: 1
- _StraightAlphaInput: 1
- _ThresholdEnd: 0.25
- _TintBlack: 0
- _Use8Neighbourhood: 1
- _UseScreenSpaceOutlineWidth: 0
- _ZWrite: 0
- _node_3476: 0
m_Colors:
- _Black: {r: 0, g: 0, b: 0, a: 0}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _FillColor: {r: 1, g: 1, b: 1, a: 1}
- _OutlineColor: {r: 1, g: 1, b: 0, a: 1}
m_BuildTextureStacks: []
m_AllowLocking: 1

View File

@@ -0,0 +1,15 @@
fileFormatVersion: 2
guid: 5c3e77e82ea184e429cfbd19aa57d09d
timeCreated: 1489559535
licenseType: Store
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:
AssetOrigin:
serializedVersion: 1
productId: 346790
packageName: Realtime Area Light for URP
packageVersion: 1.3.0
assetPath: Packages/com.baddog.rendering.arealight/Samples/Spine/spineboy.mat
uploadId: 884030

View File

@@ -0,0 +1,825 @@
fileFormatVersion: 2
guid: 90216cadd37249c4cafa50f56d3f7b81
TextureImporter:
internalIDToNameTable:
- first:
213: 21300000
second: eye_indifferent
- first:
213: 21300002
second: eye_surprised
- first:
213: 21300004
second: front_bracer
- first:
213: 21300006
second: front_fist_closed
- first:
213: 21300008
second: front_fist_open
- first:
213: 21300010
second: front_foot
- first:
213: 21300012
second: front_foot_bend1
- first:
213: 21300014
second: front_foot_bend2
- first:
213: 21300016
second: front_shin
- first:
213: 21300018
second: front_thigh
- first:
213: 21300020
second: front_upper_arm
- first:
213: 21300022
second: goggles
- first:
213: 21300024
second: gun
- first:
213: 21300026
second: head
- first:
213: 21300028
second: mouth_grind
- first:
213: 21300030
second: mouth_oooo
- first:
213: 21300032
second: mouth_smile
- first:
213: 21300034
second: muzzle
- first:
213: 21300036
second: neck
- first:
213: 21300038
second: rear_bracer
- first:
213: 21300040
second: rear_foot
- first:
213: 21300042
second: rear_foot_bend1
- first:
213: 21300044
second: rear_foot_bend2
- first:
213: 21300046
second: rear_shin
- first:
213: 21300048
second: rear_thigh
- first:
213: 21300050
second: rear_upper_arm
- first:
213: 21300052
second: torso
externalObjects: {}
serializedVersion: 13
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 0
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
flipGreenChannel: 0
isReadable: 1
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: -3
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 16
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
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
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 1
swizzle: 50462976
cookieLightType: 1
platformSettings:
- serializedVersion: 4
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 0
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 1
- serializedVersion: 4
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 0
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 1
- serializedVersion: 4
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 0
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 1
- serializedVersion: 4
buildTarget: WebGL
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 0
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 1
spriteSheet:
serializedVersion: 2
sprites:
- serializedVersion: 2
name: eye_indifferent
rect:
serializedVersion: 2
x: 549
y: 239
width: 93
height: 89
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
customData:
outline: []
physicsShape: []
tessellationDetail: -1
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: eye_surprised
rect:
serializedVersion: 2
x: 834
y: 76
width: 93
height: 89
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
customData:
outline: []
physicsShape: []
tessellationDetail: -1
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: front_bracer
rect:
serializedVersion: 2
x: 375
y: 532
width: 80
height: 58
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
customData:
outline: []
physicsShape: []
tessellationDetail: -1
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: front_fist_closed
rect:
serializedVersion: 2
x: 466
y: 354
width: 82
height: 75
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
customData:
outline: []
physicsShape: []
tessellationDetail: -1
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: front_fist_open
rect:
serializedVersion: 2
x: 447
y: 431
width: 86
height: 87
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
customData:
outline: []
physicsShape: []
tessellationDetail: -1
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: front_foot
rect:
serializedVersion: 2
x: 549
y: 168
width: 126
height: 69
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
customData:
outline: []
physicsShape: []
tessellationDetail: -1
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: front_foot_bend1
rect:
serializedVersion: 2
x: 375
y: 402
width: 70
height: 128
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
customData:
outline: []
physicsShape: []
tessellationDetail: -1
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: front_foot_bend2
rect:
serializedVersion: 2
x: 275
y: 584
width: 93
height: 108
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
customData:
outline: []
physicsShape: []
tessellationDetail: -1
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: front_shin
rect:
serializedVersion: 2
x: 466
y: 168
width: 81
height: 184
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
customData:
outline: []
physicsShape: []
tessellationDetail: -1
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: front_thigh
rect:
serializedVersion: 2
x: 214
y: 702
width: 48
height: 112
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
customData:
outline: []
physicsShape: []
tessellationDetail: -1
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: front_upper_arm
rect:
serializedVersion: 2
x: 214
y: 816
width: 54
height: 97
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
customData:
outline: []
physicsShape: []
tessellationDetail: -1
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: goggles
rect:
serializedVersion: 2
x: 466
y: 0
width: 261
height: 166
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
customData:
outline: []
physicsShape: []
tessellationDetail: -1
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: gun
rect:
serializedVersion: 2
x: 2
y: 702
width: 210
height: 203
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
customData:
outline: []
physicsShape: []
tessellationDetail: -1
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: head
rect:
serializedVersion: 2
x: 2
y: 402
width: 271
height: 298
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
customData:
outline: []
physicsShape: []
tessellationDetail: -1
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: mouth_grind
rect:
serializedVersion: 2
x: 929
y: 67
width: 93
height: 59
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
customData:
outline: []
physicsShape: []
tessellationDetail: -1
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: mouth_oooo
rect:
serializedVersion: 2
x: 929
y: 128
width: 93
height: 59
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
customData:
outline: []
physicsShape: []
tessellationDetail: -1
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: mouth_smile
rect:
serializedVersion: 2
x: 550
y: 330
width: 59
height: 93
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
customData:
outline: []
physicsShape: []
tessellationDetail: -1
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: muzzle
rect:
serializedVersion: 2
x: 2
y: 0
width: 462
height: 400
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
customData:
outline: []
physicsShape: []
tessellationDetail: -1
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: neck
rect:
serializedVersion: 2
x: 64
y: 975
width: 35
height: 41
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
customData:
outline: []
physicsShape: []
tessellationDetail: -1
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: rear_bracer
rect:
serializedVersion: 2
x: 677
y: 168
width: 55
height: 72
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
customData:
outline: []
physicsShape: []
tessellationDetail: -1
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: rear_foot
rect:
serializedVersion: 2
x: 2
y: 907
width: 60
height: 113
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
customData:
outline: []
physicsShape: []
tessellationDetail: -1
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: rear_foot_bend1
rect:
serializedVersion: 2
x: 64
y: 907
width: 117
height: 66
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
customData:
outline: []
physicsShape: []
tessellationDetail: -1
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: rear_foot_bend2
rect:
serializedVersion: 2
x: 729
y: 76
width: 103
height: 83
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
customData:
outline: []
physicsShape: []
tessellationDetail: -1
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: rear_shin
rect:
serializedVersion: 2
x: 729
y: 0
width: 178
height: 74
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
customData:
outline: []
physicsShape: []
tessellationDetail: -1
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: rear_thigh
rect:
serializedVersion: 2
x: 909
y: 0
width: 103
height: 65
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
customData:
outline: []
physicsShape: []
tessellationDetail: -1
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: rear_upper_arm
rect:
serializedVersion: 2
x: 370
y: 592
width: 47
height: 87
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
customData:
outline: []
physicsShape: []
tessellationDetail: -1
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: torso
rect:
serializedVersion: 2
x: 275
y: 402
width: 98
height: 180
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
customData:
outline: []
physicsShape: []
tessellationDetail: -1
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
outline: []
customData:
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spriteCustomMetadata:
entries: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:
AssetOrigin:
serializedVersion: 1
productId: 346790
packageName: Realtime Area Light for URP
packageVersion: 1.3.0
assetPath: Packages/com.baddog.rendering.arealight/Samples/Spine/spineboy.png
uploadId: 884030

View File

@@ -0,0 +1,15 @@
fileFormatVersion: 2
guid: b092692d9fc741743a3d895f2880073f
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 4300000
userData:
assetBundleName:
assetBundleVariant:
AssetOrigin:
serializedVersion: 1
productId: 346790
packageName: Realtime Area Light for URP
packageVersion: 1.3.0
assetPath: Packages/com.baddog.rendering.arealight/Samples/Spine/spineboymesh.asset
uploadId: 884030