浏览代码

HDRenderpipeline: Remove unused file - we ahve a converter now

/main
sebastienlagarde 6 年前
当前提交
838474da
共有 2 个文件被更改,包括 0 次插入29 次删除
  1. 9
      ScriptableRenderPipeline/HDRenderPipeline/HDRP/Material/Lit/PatchStandardShaderToNewNamingConvention.cginc.meta
  2. 20
      ScriptableRenderPipeline/HDRenderPipeline/HDRP/Material/Lit/PatchStandardShaderToNewNamingConvention.cginc

9
ScriptableRenderPipeline/HDRenderPipeline/HDRP/Material/Lit/PatchStandardShaderToNewNamingConvention.cginc.meta


fileFormatVersion: 2
guid: a9b4e2b7ef9a45f49834b052e7722acb
timeCreated: 1480085057
licenseType: Pro
ShaderImporter:
defaultTextures: []
userData:
assetBundleName:
assetBundleVariant:

20
ScriptableRenderPipeline/HDRenderPipeline/HDRP/Material/Lit/PatchStandardShaderToNewNamingConvention.cginc


// NOTE: For performing a project upgrade where you temporarily support both old and new renderpipelines
// in the same sahder
//
// The basic approach is:
// Upgrade all your shaders to the new naming convention, using a SubShader that also contains the legacy // renderloop code.
//
// 1. Copy HDRenderPipeline Lit.shader into your project
// 2. Add a SubShader and copy old Standard shader passes into it.
// 2. Set LOD on subshader to make Unity pick at runtime to use new renderloop shaders or
// legacy standard shaders based on if SRL is enabled or not.
// In the legacy standard shader section add
// #include "PatchStandardShaderToNewNamingConvention.cginc"
// List of name remaps
#define _MainTex _BaseColorMap
#define _MainTex_ST _BaseColorMap_ST
#define _BumpMap _NormalMap
#define _ParallaxMap _HeightMap
#define _Parallax _HeightScale
#define _Glossiness _Smoothness
正在加载...
取消
保存