forked from KhronosGroup/UnityGLTF
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add UnityGLTFShaderVariants for issue: KhronosGroup#206
See: KhronosGroup#206
- Loading branch information
Showing
5 changed files
with
295 additions
and
22 deletions.
There are no files selected for viewing
263 changes: 263 additions & 0 deletions
263
UnityGLTF/Assets/Resources/UnityGLTFShaderVariants.shadervariants
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,263 @@ | ||
%YAML 1.1 | ||
%TAG !u! tag:unity3d.com,2011: | ||
--- !u!200 &20000000 | ||
ShaderVariantCollection: | ||
m_ObjectHideFlags: 0 | ||
m_PrefabParentObject: {fileID: 0} | ||
m_PrefabInternal: {fileID: 0} | ||
m_Name: UnityGLTFShaderVariants | ||
m_Shaders: | ||
data: | ||
first: {fileID: 66, guid: 0000000000000000f000000000000000, type: 0} | ||
second: | ||
variants: | ||
- keywords: | ||
passType: 0 | ||
data: | ||
first: {fileID: 45, guid: 0000000000000000f000000000000000, type: 0} | ||
second: | ||
variants: | ||
- keywords: DIRECTIONAL _EMISSION _SPECGLOSSMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _SPECGLOSSMAP | ||
passType: 5 | ||
- keywords: SHADOWS_DEPTH _SPECGLOSSMAP | ||
passType: 8 | ||
data: | ||
first: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} | ||
second: | ||
variants: | ||
- keywords: DIRECTIONAL | ||
passType: 4 | ||
- keywords: DIRECTIONAL SHADOWS_SCREEN | ||
passType: 4 | ||
- keywords: DIRECTIONAL _EMISSION | ||
passType: 4 | ||
- keywords: DIRECTIONAL _ALPHAPREMULTIPLY_ON | ||
passType: 4 | ||
- keywords: DIRECTIONAL | ||
passType: 5 | ||
- keywords: DIRECTIONAL _ALPHAPREMULTIPLY_ON | ||
passType: 5 | ||
- keywords: SHADOWS_DEPTH | ||
passType: 8 | ||
- keywords: SHADOWS_DEPTH _ALPHAPREMULTIPLY_ON | ||
passType: 8 | ||
data: | ||
first: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} | ||
second: | ||
variants: | ||
- keywords: SHADOWS_SPLIT_SPHERES | ||
passType: 0 | ||
data: | ||
first: {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} | ||
second: | ||
variants: | ||
- keywords: DIRECTIONAL | ||
passType: 4 | ||
- keywords: DIRECTIONAL | ||
passType: 5 | ||
- keywords: SHADOWS_DEPTH | ||
passType: 8 | ||
data: | ||
first: {fileID: 106, guid: 0000000000000000f000000000000000, type: 0} | ||
second: | ||
variants: | ||
- keywords: _SUNDISK_SIMPLE | ||
passType: 0 | ||
data: | ||
first: {fileID: 9000, guid: 0000000000000000f000000000000000, type: 0} | ||
second: | ||
variants: | ||
- keywords: | ||
passType: 0 | ||
data: | ||
first: {fileID: 9001, guid: 0000000000000000f000000000000000, type: 0} | ||
second: | ||
variants: | ||
- keywords: | ||
passType: 0 | ||
data: | ||
first: {fileID: 9002, guid: 0000000000000000f000000000000000, type: 0} | ||
second: | ||
variants: | ||
- keywords: | ||
passType: 0 | ||
data: | ||
first: {fileID: 4800000, guid: 0ffe2976cdefd434c8fcd886ffa69322, type: 3} | ||
second: | ||
variants: | ||
- keywords: DIRECTIONAL | ||
passType: 4 | ||
- keywords: DIRECTIONAL _EMISSION | ||
passType: 4 | ||
- keywords: DIRECTIONAL _NORMALMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _EMISSION _NORMALMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _ALPHATEST_ON | ||
passType: 4 | ||
- keywords: DIRECTIONAL _ALPHATEST_ON _EMISSION | ||
passType: 4 | ||
- keywords: DIRECTIONAL _ALPHATEST_ON _NORMALMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _ALPHATEST_ON _EMISSION _NORMALMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _ALPHABLEND_ON | ||
passType: 4 | ||
- keywords: DIRECTIONAL _ALPHABLEND_ON _EMISSION | ||
passType: 4 | ||
- keywords: DIRECTIONAL _ALPHABLEND_ON _NORMALMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _ALPHABLEND_ON _EMISSION _NORMALMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _SPECGLOSSMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _EMISSION _SPECGLOSSMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _NORMALMAP _SPECGLOSSMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _EMISSION _NORMALMAP _SPECGLOSSMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _ALPHATEST_ON _SPECGLOSSMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _ALPHATEST_ON _EMISSION _SPECGLOSSMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _ALPHATEST_ON _NORMALMAP _SPECGLOSSMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _ALPHATEST_ON _EMISSION _NORMALMAP _SPECGLOSSMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _ALPHABLEND_ON _SPECGLOSSMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _ALPHABLEND_ON _EMISSION _SPECGLOSSMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _ALPHABLEND_ON _NORMALMAP _SPECGLOSSMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _ALPHABLEND_ON _EMISSION _NORMALMAP _SPECGLOSSMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL | ||
passType: 5 | ||
- keywords: DIRECTIONAL _NORMALMAP | ||
passType: 5 | ||
- keywords: DIRECTIONAL _ALPHATEST_ON | ||
passType: 5 | ||
- keywords: DIRECTIONAL _ALPHATEST_ON _NORMALMAP | ||
passType: 5 | ||
- keywords: DIRECTIONAL _ALPHABLEND_ON | ||
passType: 5 | ||
- keywords: DIRECTIONAL _ALPHABLEND_ON _NORMALMAP | ||
passType: 5 | ||
- keywords: DIRECTIONAL _SPECGLOSSMAP | ||
passType: 5 | ||
- keywords: DIRECTIONAL _NORMALMAP _SPECGLOSSMAP | ||
passType: 5 | ||
- keywords: DIRECTIONAL _ALPHATEST_ON _SPECGLOSSMAP | ||
passType: 5 | ||
- keywords: DIRECTIONAL _ALPHATEST_ON _NORMALMAP _SPECGLOSSMAP | ||
passType: 5 | ||
- keywords: DIRECTIONAL _ALPHABLEND_ON _SPECGLOSSMAP | ||
passType: 5 | ||
- keywords: DIRECTIONAL _ALPHABLEND_ON _NORMALMAP _SPECGLOSSMAP | ||
passType: 5 | ||
- keywords: SHADOWS_DEPTH | ||
passType: 8 | ||
- keywords: SHADOWS_DEPTH _ALPHATEST_ON | ||
passType: 8 | ||
- keywords: SHADOWS_DEPTH _ALPHABLEND_ON | ||
passType: 8 | ||
- keywords: SHADOWS_DEPTH _SPECGLOSSMAP | ||
passType: 8 | ||
- keywords: SHADOWS_DEPTH _ALPHATEST_ON _SPECGLOSSMAP | ||
passType: 8 | ||
- keywords: SHADOWS_DEPTH _ALPHABLEND_ON _SPECGLOSSMAP | ||
passType: 8 | ||
data: | ||
first: {fileID: 4800000, guid: 9836e4430eb58204086d7d1440e16a4f, type: 3} | ||
second: | ||
variants: | ||
- keywords: DIRECTIONAL | ||
passType: 4 | ||
- keywords: DIRECTIONAL _EMISSION | ||
passType: 4 | ||
- keywords: DIRECTIONAL _NORMALMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _EMISSION _NORMALMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _ALPHATEST_ON | ||
passType: 4 | ||
- keywords: DIRECTIONAL _ALPHATEST_ON _EMISSION | ||
passType: 4 | ||
- keywords: DIRECTIONAL _ALPHATEST_ON _NORMALMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _ALPHATEST_ON _EMISSION _NORMALMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _ALPHABLEND_ON | ||
passType: 4 | ||
- keywords: DIRECTIONAL _ALPHABLEND_ON _EMISSION | ||
passType: 4 | ||
- keywords: DIRECTIONAL _ALPHABLEND_ON _NORMALMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _ALPHABLEND_ON _EMISSION _NORMALMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _METALLICGLOSSMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _EMISSION _METALLICGLOSSMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _METALLICGLOSSMAP _NORMALMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _EMISSION _METALLICGLOSSMAP _NORMALMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL SHADOWS_SCREEN _EMISSION _METALLICGLOSSMAP _NORMALMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _ALPHATEST_ON _METALLICGLOSSMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _ALPHATEST_ON _EMISSION _METALLICGLOSSMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _ALPHATEST_ON _METALLICGLOSSMAP _NORMALMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _ALPHATEST_ON _EMISSION _METALLICGLOSSMAP _NORMALMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _ALPHABLEND_ON _METALLICGLOSSMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _ALPHABLEND_ON _EMISSION _METALLICGLOSSMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _ALPHABLEND_ON _METALLICGLOSSMAP _NORMALMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL _ALPHABLEND_ON _EMISSION _METALLICGLOSSMAP _NORMALMAP | ||
passType: 4 | ||
- keywords: DIRECTIONAL | ||
passType: 5 | ||
- keywords: DIRECTIONAL _NORMALMAP | ||
passType: 5 | ||
- keywords: DIRECTIONAL _ALPHATEST_ON | ||
passType: 5 | ||
- keywords: DIRECTIONAL _ALPHATEST_ON _NORMALMAP | ||
passType: 5 | ||
- keywords: DIRECTIONAL _ALPHABLEND_ON | ||
passType: 5 | ||
- keywords: DIRECTIONAL _ALPHABLEND_ON _NORMALMAP | ||
passType: 5 | ||
- keywords: DIRECTIONAL _METALLICGLOSSMAP | ||
passType: 5 | ||
- keywords: DIRECTIONAL _METALLICGLOSSMAP _NORMALMAP | ||
passType: 5 | ||
- keywords: DIRECTIONAL _ALPHATEST_ON _METALLICGLOSSMAP | ||
passType: 5 | ||
- keywords: DIRECTIONAL _ALPHATEST_ON _METALLICGLOSSMAP _NORMALMAP | ||
passType: 5 | ||
- keywords: DIRECTIONAL _ALPHABLEND_ON _METALLICGLOSSMAP | ||
passType: 5 | ||
- keywords: DIRECTIONAL _ALPHABLEND_ON _METALLICGLOSSMAP _NORMALMAP | ||
passType: 5 | ||
- keywords: SHADOWS_DEPTH | ||
passType: 8 | ||
- keywords: SHADOWS_DEPTH _ALPHATEST_ON | ||
passType: 8 | ||
- keywords: SHADOWS_DEPTH _ALPHABLEND_ON | ||
passType: 8 | ||
- keywords: SHADOWS_DEPTH _METALLICGLOSSMAP | ||
passType: 8 | ||
- keywords: SHADOWS_DEPTH _ALPHATEST_ON _METALLICGLOSSMAP | ||
passType: 8 | ||
- keywords: SHADOWS_DEPTH _ALPHABLEND_ON _METALLICGLOSSMAP | ||
passType: 8 |
9 changes: 9 additions & 0 deletions
9
UnityGLTF/Assets/Resources/UnityGLTFShaderVariants.shadervariants.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters