FiE-Game/Assets/ComputeShader/InjectLightingAndDensity.asset

222 lines
31 KiB
Text
Raw Normal View History

%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!72 &7200000
ComputeShader:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: InjectLightingAndDensity
variants:
- targetRenderer: 2
targetLevel: 0
kernels:
- name:
name: CSMain
cbs:
- name:
name: $Globals
generatedName:
name: '<noninit>'
bindPoint: 0
counter:
bindpoint: 0
offset: 1
textures:
- name:
name: _AreaLightShadowmap
generatedName:
name: '<noninit>'
bindPoint: 4
counter:
bindpoint: 0
offset: 1
builtinSamplers: []
inBuffers:
- name:
name: _PointLights
generatedName:
name: '<noninit>'
bindPoint: 0
counter:
bindpoint: 0
offset: 1
- name:
name: _TubeLights
generatedName:
name: '<noninit>'
bindPoint: 1
counter:
bindpoint: 0
offset: 1
- name:
name: _TubeLightShadowPlanes
generatedName:
name: '<noninit>'
bindPoint: 2
counter:
bindpoint: 0
offset: 1
- name:
name: _AreaLights
generatedName:
name: '<noninit>'
bindPoint: 3
counter:
bindpoint: 0
offset: 1
- name:
name: _FogEllipsoids
generatedName:
name: '<noninit>'
bindPoint: 5
counter:
bindpoint: 0
offset: 1
outBuffers:
- name:
name: _VolumeInject
generatedName:
name: '<noninit>'
bindPoint: 0
counter:
bindpoint: 0
offset: 1
code: 44584243f4162194dd758b82d3dc54e84d294e5301000000a8350000030000002c0000003c0000004c0000004953474e0800000000000000080000004f53474e080000000000000008000000534845585435000050000500550d00006a08000159000004468e200000000000160000005a0000030060100000000000a2000004007010000000000020000000a2000004007010000100000030000000a2000004007010000200000030000000a200000400701000030000006000000058180004007010000400000055550000a20000040070100005000000400000009c28000400e0110000000000555500005f00000272000200680000020a0000009b000004100000000200000010000000560000047200100000000000460202003800000a72001000000000004602100000000000024000008a16ce3b0317383c0402013c000000000000000982001000000000000a802080410000000000000012000000014000000000803f3200000a42001000000000002a001000000000003a001000000000000a80200000000000120000000000000a7200100001000000468220804100000000000000040000004682200000000000050000003200000a7200100001000000060010000000000046021000010000004682200000000000040000000000000a7200100002000000468220000000000006000000468220804100000000000000070000003200000a720010000200000006001000000000004602100002000000468220000000000007000000000000087200100002000000460210804100000001000000460210000200000032000009b200100000000000560510000000000046081000020000004608100001000000380000077200100001000000a60a10000000000046031000000000003200000a72001000000000004603100000000000a60a100000000000468220000000000008000000100000078200100001000000460210000100000046021000010000004400000582001000010000003a00100001000000380000077200100001000000f60f10000100000046021000010000003200000b82001000010000002a802000000000000e0000002a802000000000000e000000014000000000803f0000000912001000020000002a802000000000000e0000002a802000000000000e0000003200000c22001000020000002a80208041000000000000000e0000002a802000000000000e000000014000000000803f36000008720010000300000002400000000000000000000000000000000000003600000542001000020000000140000000000000300000012b00000582001000020000002a001000020000001d00000882001000020000003a001000020000000a8020000000000013000000030004033a00100002000000a700008b0203018083991900f2001000040000002a001000020000000140000000000000467e1000000000000000000872001000040000004602108041000000000000004602100004000000100000078200100002000000460210000400000046021000040000003800000782001000030000003a001000040000003a001000020000003200000982001000030000003a00100003000000014000000000c841014000000000803f0e00000a8200100003000000024000000000803f0000803f0000803f0000803f3a001000030000004400000582001000020000003a00100002000000380000077200100004000000f60f1000020000004602100004000000100000078200100002000000460210000100000046021000040000003200000a82001000020000000a00108041000000020000003a001000020000003a001000010000003800000712001000040000003a001000020000003a001000020000003800000782001000020000003a001000020000000a001000040000003400000782001000020000003a0010000200000001400000000000004b00000582001000020000003a001000020000000e00000782001000020000001a001000020000003a001000020000003800000782001000020000003a001000020000003a00100003000000a700008b020301808399190072001000040000002a00100002000000014000001000000046721000000000003200000972001000030000004602100004000000f60f10000200000046021000030000001e00000742001000020000002a00100002000000014000000100000016000001000000087200100003000000460210000300000096872000000000001200000036000008720010000400000002400000000000000000000000000000000000003600000542001000020000000140000000000000300000012b00000582001000020000002a001000020000001d00000882001000020000003a001000020000001a8020000000000013000000030004033a00100002000000a700008b0283018083991900f2001000050000002a001000020000000140000000000000467e1000010000000000000872001000050000004602108041000000000000004602100005000000a700008b0283018083991900f2001000060000002a001000020000000140000010000000467e1000010000000000000872001000060000004602108041000000000000004602100006000000100000078200100002000000460210000500000046021000050000004b00000582001000030000003a00100002000000100000078200100004000000460210000600000046021000060000004b00000582001000040000003a00100004000000100000071200100007000000460210000500000046021000060
threadGroupSize:
- 16
- 2
- 16
constantBuffers:
- name:
name: $Globals
byteSize: 352
params:
- name:
name: _FrustumRays
type: 0
offset: 64
arraySize: 4
rowCount: 1
colCount: 4
- name:
name: _CameraPos
type: 0
offset: 128
arraySize: 0
rowCount: 1
colCount: 4
- name:
name: _Density
type: 0
offset: 224
arraySize: 0
rowCount: 1
colCount: 1
- name:
name: _Intensity
type: 0
offset: 228
arraySize: 0
rowCount: 1
colCount: 1
- name:
name: _Anisotropy
type: 0
offset: 232
arraySize: 0
rowCount: 1
colCount: 1
- name:
name: _FogParams
type: 0
offset: 240
arraySize: 0
rowCount: 1
colCount: 4
- name:
name: _NoiseFogAmount
type: 0
offset: 256
arraySize: 0
rowCount: 1
colCount: 1
- name:
name: _NoiseFogScale
type: 0
offset: 260
arraySize: 0
rowCount: 1
colCount: 1
- name:
name: _WindSpeed
type: 0
offset: 264
arraySize: 0
rowCount: 1
colCount: 1
- name:
name: _WindDir
type: 0
offset: 272
arraySize: 0
rowCount: 1
colCount: 3
- name:
name: _Time
type: 0
offset: 284
arraySize: 0
rowCount: 1
colCount: 1
- name:
name: _NearOverFarClip
type: 0
offset: 288
arraySize: 0
rowCount: 1
colCount: 1
- name:
name: _AmbientLight
type: 0
offset: 292
arraySize: 0
rowCount: 1
colCount: 3
- name:
name: _PointLightsCount
type: 0
offset: 304
arraySize: 0
rowCount: 1
colCount: 1
- name:
name: _TubeLightsCount
type: 0
offset: 308
arraySize: 0
rowCount: 1
colCount: 1
- name:
name: _AreaLightsCount
type: 0
offset: 312
arraySize: 0
rowCount: 1
colCount: 1
- name:
name: _ShadowedAreaLightIndex
type: 0
offset: 316
arraySize: 0
rowCount: 1
colCount: 1
- name:
name: _FogEllipsoidsCount
type: 0
offset: 340
arraySize: 0
rowCount: 1
colCount: 1
resourcesResolved: 1
errors: []