浏览代码

Placeholder shader includes.

/main
Tim Cooper 7 年前
当前提交
9ba2e475
共有 2 个文件被更改,包括 26 次插入0 次删除
  1. 15
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/DefaultShaderIncludes.cs
  2. 11
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/DefaultShaderIncludes.cs.meta

15
MaterialGraphProject/Assets/UnityShaderEditor/Editor/DefaultShaderIncludes.cs


namespace UnityEditor
{
internal static class DefaultShaderIncludes
{
[ShaderIncludePath]
public static string[] GetPaths()
{
return new[]
{
"Assets/ScriptableRenderPipeline/",
"Assets/SRP/ScriptableRenderPipeline/LightweightPipeline/Shaders"
};
}
}
}

11
MaterialGraphProject/Assets/UnityShaderEditor/Editor/DefaultShaderIncludes.cs.meta


fileFormatVersion: 2
guid: c5c6fed447622d14cabac1b6abcdd8a9
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
正在加载...
取消
保存