-
-
Notifications
You must be signed in to change notification settings - Fork 270
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: strip shaders using ShaderVariantCollection instead of 'Always …
…Include Shaders' close #211
- Loading branch information
Showing
13 changed files
with
437 additions
and
261 deletions.
There are no files selected for viewing
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
%YAML 1.1 | ||
%TAG !u! tag:unity3d.com,2011: | ||
--- !u!114 &11400000 | ||
MonoBehaviour: | ||
m_ObjectHideFlags: 0 | ||
m_CorrespondingSourceObject: {fileID: 0} | ||
m_PrefabInstance: {fileID: 0} | ||
m_PrefabAsset: {fileID: 0} | ||
m_GameObject: {fileID: 0} | ||
m_Enabled: 1 | ||
m_EditorHideFlags: 0 | ||
m_Script: {fileID: 11500000, guid: eb5b5e33068c14a2bacdd6575e94f505, type: 3} | ||
m_Name: UISoftMaskProjectSettings | ||
m_EditorClassIdentifier: | ||
m_SoftMaskEnabled: 1 | ||
m_StereoEnabled: 1 | ||
m_TransformSensitivity: 1 | ||
m_UseStencilOutsideScreen: 1 | ||
m_HideGeneratedComponents: 1 | ||
m_ShaderVariantRegistry: | ||
m_ErrorWhenFallback: 0 | ||
m_ShaderAliases: | ||
- key: UI/Default | ||
value: Hidden/UI/Default (SoftMaskable) | ||
m_UnregisteredVariants: [] | ||
m_Asset: {fileID: 6562417279084414694} | ||
--- !u!200 &6562417279084414694 | ||
ShaderVariantCollection: | ||
m_ObjectHideFlags: 0 | ||
m_CorrespondingSourceObject: {fileID: 0} | ||
m_PrefabInstance: {fileID: 0} | ||
m_PrefabAsset: {fileID: 0} | ||
m_Name: ShaderVariants | ||
m_Shaders: | ||
- first: {fileID: 4800000, guid: 935b7be1c88464d2eb87204fdfab5a38, type: 3} | ||
second: | ||
variants: | ||
- keywords: GLOW_ON | ||
passType: 0 | ||
- first: {fileID: 4800000, guid: 9839189d918374a318d397a86e90aa73, type: 3} | ||
second: | ||
variants: | ||
- keywords: | ||
passType: 0 | ||
- keywords: SOFTMASK_EDITOR UNITY_UI_CLIP_RECT | ||
passType: 0 | ||
- keywords: UNITY_UI_ALPHACLIP | ||
passType: 0 | ||
- keywords: UNITY_UI_CLIP_RECT | ||
passType: 0 | ||
- first: {fileID: 4800000, guid: 2933b413a51fc4ff3a83c7ef4177ae84, type: 3} | ||
second: | ||
variants: | ||
- keywords: | ||
passType: 0 | ||
- first: {fileID: 4800000, guid: 33e06cd3c50064f30a691b600fc62f3f, type: 3} | ||
second: | ||
variants: | ||
- keywords: | ||
passType: 0 |
2 changes: 1 addition & 1 deletion
2
Assets/ProjectSettings/UISoftMask.asset.meta → ...ings/UISoftMaskProjectSettings.asset.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
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
Oops, something went wrong.