Update basic sample

pull/51/head
hevinci 2022-11-03 20:18:05 +08:00
parent 9397a0ebae
commit 76e65286fd
2 changed files with 148 additions and 112 deletions

View File

@ -1,152 +1,189 @@
{ {
"ShaderCount": 0, "ShaderTotalCount": 12,
"VariantCount": 0, "VariantTotalCount": 16,
"ShaderVariants": [ "ShaderVariantInfos": [
{
"AssetPath": "Resources/unity_builtin_extra",
"ShaderName": "Hidden/Internal-ScreenSpaceShadows",
"PassType": 0,
"Keywords": [
"SHADOWS_SINGLE_CASCADE",
"SHADOWS_SPLIT_SPHERES"
]
},
{ {
"AssetPath": "Resources/unity_builtin_extra", "AssetPath": "Resources/unity_builtin_extra",
"ShaderName": "Hidden/BlitCopy", "ShaderName": "Hidden/BlitCopy",
"ShaderVariantElements": [
{
"PassType": 0, "PassType": 0,
"Keywords": [ "Keywords": [
"" ""
] ]
}, }
{
"AssetPath": "Resources/unity_builtin_extra",
"ShaderName": "Skybox/Procedural",
"PassType": 0,
"Keywords": [
"BILLBOARD_FACE_CAMERA_POS",
"UNITY_HDR_ON",
"_SUNDISK_SIMPLE"
] ]
}, },
{ {
"AssetPath": "Resources/unity_builtin_extra", "AssetPath": "Resources/unity_builtin_extra",
"ShaderName": "Skybox/Procedural", "ShaderName": "Skybox/Procedural",
"ShaderVariantElements": [
{
"PassType": 0, "PassType": 0,
"Keywords": [ "Keywords": [
"BILLBOARD_FACE_CAMERA_POS", "BILLBOARD_FACE_CAMERA_POS",
"SOFTPARTICLES_ON",
"UNITY_HDR_ON",
"_SUNDISK_SIMPLE" "_SUNDISK_SIMPLE"
] ]
}
]
}, },
{ {
"AssetPath": "Resources/unity_builtin_extra", "AssetPath": "Resources/unity_builtin_extra",
"ShaderName": "Hidden/Internal-GUITextureClip", "ShaderName": "Hidden/Internal-GUITextureClip",
"ShaderVariantElements": [
{
"PassType": 0, "PassType": 0,
"Keywords": [ "Keywords": [
"" ""
] ]
}
]
}, },
{ {
"AssetPath": "Resources/unity_builtin_extra", "AssetPath": "Resources/unity_builtin_extra",
"ShaderName": "Hidden/Internal-GUITextureClipText", "ShaderName": "Hidden/Internal-GUITextureClipText",
"ShaderVariantElements": [
{
"PassType": 0, "PassType": 0,
"Keywords": [ "Keywords": [
"" ""
] ]
}
]
}, },
{ {
"AssetPath": "Resources/unity_builtin_extra", "AssetPath": "Resources/unity_builtin_extra",
"ShaderName": "Hidden/Internal-GUITexture", "ShaderName": "Hidden/Internal-GUITexture",
"ShaderVariantElements": [
{
"PassType": 0, "PassType": 0,
"Keywords": [ "Keywords": [
"" ""
] ]
}
]
}, },
{ {
"AssetPath": "Resources/unity_builtin_extra", "AssetPath": "Resources/unity_builtin_extra",
"ShaderName": "Hidden/Internal-GUITextureBlit", "ShaderName": "Hidden/Internal-GUITextureBlit",
"ShaderVariantElements": [
{
"PassType": 0, "PassType": 0,
"Keywords": [ "Keywords": [
"" ""
] ]
}
]
}, },
{ {
"AssetPath": "Resources/unity_builtin_extra", "AssetPath": "Resources/unity_builtin_extra",
"ShaderName": "Hidden/Internal-GUIRoundedRect", "ShaderName": "Hidden/Internal-GUIRoundedRect",
"ShaderVariantElements": [
{
"PassType": 0, "PassType": 0,
"Keywords": [ "Keywords": [
"" ""
] ]
}
]
}, },
{ {
"AssetPath": "Resources/unity_builtin_extra", "AssetPath": "Resources/unity_builtin_extra",
"ShaderName": "Hidden/Internal-GUIRoundedRectWithColorPerBorder", "ShaderName": "Hidden/Internal-GUIRoundedRectWithColorPerBorder",
"ShaderVariantElements": [
{
"PassType": 0, "PassType": 0,
"Keywords": [ "Keywords": [
"" ""
] ]
}
]
}, },
{ {
"AssetPath": "Resources/unity_builtin_extra", "AssetPath": "Resources/unity_builtin_extra",
"ShaderName": "Hidden/Internal-UIRAtlasBlitCopy", "ShaderName": "Hidden/Internal-UIRAtlasBlitCopy",
"ShaderVariantElements": [
{
"PassType": 0, "PassType": 0,
"Keywords": [ "Keywords": [
"" ""
] ]
}
]
},
{
"AssetPath": "Resources/unity_builtin_extra",
"ShaderName": "Hidden/UIElements/EditorUIE",
"ShaderVariantElements": [
{
"PassType": 0,
"Keywords": [
"BILLBOARD_FACE_CAMERA_POS"
]
}
]
},
{
"AssetPath": "Resources/unity_builtin_extra",
"ShaderName": "Mobile/Diffuse",
"ShaderVariantElements": [
{
"PassType": 4,
"Keywords": [
"BILLBOARD_FACE_CAMERA_POS",
"DIRECTIONAL",
"LIGHTPROBE_SH",
"SHADOWS_SCREEN",
"SHADOWS_SOFT",
"SHADOWS_SPLIT_SPHERES"
]
},
{
"PassType": 8,
"Keywords": [
""
]
}, },
{ {
"AssetPath": "Resources/unity_builtin_extra", "PassType": 8,
"ShaderName": "Hidden/UIElements/EditorUIE",
"PassType": 0,
"Keywords": [ "Keywords": [
"BILLBOARD_FACE_CAMERA_POS" "SHADOWS_DEPTH",
"SHADOWS_SOFT",
"SHADOWS_SPLIT_SPHERES"
]
}
] ]
}, },
{ {
"AssetPath": "Resources/unity_builtin_extra", "AssetPath": "Assets/Samples/Basic Sample/GameArt/Shaders/StandardMobile.shader",
"ShaderName": "Hidden/UIElements/EditorUIE",
"PassType": 0,
"Keywords": [
"BILLBOARD_FACE_CAMERA_POS",
"SOFTPARTICLES_ON"
]
},
{
"AssetPath": "Assets/GameRes/Shaders/MyUnlitShader.shader",
"ShaderName": "Unlit/MyUnlitShader",
"PassType": 0,
"Keywords": [
"BILLBOARD_FACE_CAMERA_POS",
"UNITY_HDR_ON"
]
},
{
"AssetPath": "Assets/GameArt/Shaders/StandardMobile.shader",
"ShaderName": "Mobile/Standard", "ShaderName": "Mobile/Standard",
"ShaderVariantElements": [
{
"PassType": 1, "PassType": 1,
"Keywords": [ "Keywords": [
"BILLBOARD_FACE_CAMERA_POS", "BILLBOARD_FACE_CAMERA_POS",
"UNITY_HDR_ON", "SHADOWS_SCREEN",
"SHADOWS_SOFT",
"SHADOWS_SPLIT_SPHERES",
"_EMISSION", "_EMISSION",
"_METALLICGLOSSMAP", "_METALLICGLOSSMAP",
"_NORMALMAP" "_NORMALMAP"
] ]
}, },
{ {
"AssetPath": "Assets/GameArt/Shaders/StandardMobile.shader",
"ShaderName": "Mobile/Standard",
"PassType": 8, "PassType": 8,
"Keywords": [ "Keywords": [
"SHADOWS_DEPTH" "_EMISSION",
"_METALLICGLOSSMAP",
"_NORMALMAP"
] ]
}, },
{ {
"AssetPath": "Assets/GameArt/Shaders/StandardMobile.shader",
"ShaderName": "Mobile/Standard",
"PassType": 8, "PassType": 8,
"Keywords": [ "Keywords": [
"SHADOWS_DEPTH",
"SHADOWS_SOFT",
"SHADOWS_SPLIT_SPHERES",
"_EMISSION", "_EMISSION",
"_METALLICGLOSSMAP", "_METALLICGLOSSMAP",
"_NORMALMAP" "_NORMALMAP"
@ -154,3 +191,5 @@
} }
] ]
} }
]
}

View File

@ -8,11 +8,6 @@ ShaderVariantCollection:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_Name: MyShaderVariants m_Name: MyShaderVariants
m_Shaders: m_Shaders:
- first: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0}
second:
variants:
- keywords: SHADOWS_SINGLE_CASCADE SHADOWS_SPLIT_SPHERES
passType: 0
- first: {fileID: 66, guid: 0000000000000000f000000000000000, type: 0} - first: {fileID: 66, guid: 0000000000000000f000000000000000, type: 0}
second: second:
variants: variants:
@ -21,9 +16,7 @@ ShaderVariantCollection:
- first: {fileID: 106, guid: 0000000000000000f000000000000000, type: 0} - first: {fileID: 106, guid: 0000000000000000f000000000000000, type: 0}
second: second:
variants: variants:
- keywords: BILLBOARD_FACE_CAMERA_POS UNITY_HDR_ON _SUNDISK_SIMPLE - keywords: BILLBOARD_FACE_CAMERA_POS _SUNDISK_SIMPLE
passType: 0
- keywords: BILLBOARD_FACE_CAMERA_POS SOFTPARTICLES_ON UNITY_HDR_ON _SUNDISK_SIMPLE
passType: 0 passType: 0
- first: {fileID: 9000, guid: 0000000000000000f000000000000000, type: 0} - first: {fileID: 9000, guid: 0000000000000000f000000000000000, type: 0}
second: second:
@ -65,20 +58,24 @@ ShaderVariantCollection:
variants: variants:
- keywords: BILLBOARD_FACE_CAMERA_POS - keywords: BILLBOARD_FACE_CAMERA_POS
passType: 0 passType: 0
- keywords: BILLBOARD_FACE_CAMERA_POS SOFTPARTICLES_ON - first: {fileID: 10703, guid: 0000000000000000f000000000000000, type: 0}
passType: 0
- first: {fileID: 4800000, guid: e1f5153da774c754aa283cf23fd64d56, type: 3}
second: second:
variants: variants:
- keywords: BILLBOARD_FACE_CAMERA_POS UNITY_HDR_ON - keywords: BILLBOARD_FACE_CAMERA_POS DIRECTIONAL LIGHTPROBE_SH SHADOWS_SCREEN
passType: 0 SHADOWS_SOFT SHADOWS_SPLIT_SPHERES
passType: 4
- keywords:
passType: 8
- keywords: SHADOWS_DEPTH SHADOWS_SOFT SHADOWS_SPLIT_SPHERES
passType: 8
- first: {fileID: 4800000, guid: ba67c8b1d5e59dc428ad9fc9270f8353, type: 3} - first: {fileID: 4800000, guid: ba67c8b1d5e59dc428ad9fc9270f8353, type: 3}
second: second:
variants: variants:
- keywords: BILLBOARD_FACE_CAMERA_POS UNITY_HDR_ON _EMISSION _METALLICGLOSSMAP - keywords: BILLBOARD_FACE_CAMERA_POS SHADOWS_SCREEN SHADOWS_SOFT SHADOWS_SPLIT_SPHERES
_NORMALMAP _EMISSION _METALLICGLOSSMAP _NORMALMAP
passType: 1 passType: 1
- keywords: SHADOWS_DEPTH
passType: 8
- keywords: _EMISSION _METALLICGLOSSMAP _NORMALMAP - keywords: _EMISSION _METALLICGLOSSMAP _NORMALMAP
passType: 8 passType: 8
- keywords: SHADOWS_DEPTH SHADOWS_SOFT SHADOWS_SPLIT_SPHERES _EMISSION _METALLICGLOSSMAP
_NORMALMAP
passType: 8