浏览代码

Merge pull request #1307 from Unity-Technologies/Fix-wrong-preprocessor-test-intepolateor

Fix wrong preprocessor test for distortion (for PR 1305)
/main
GitHub 7 年前
当前提交
f0eccd35
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 3
      ScriptableRenderPipeline/HDRenderPipeline/HDRP/Material/Lit/ShaderPass/LitDistortionPass.hlsl

3
ScriptableRenderPipeline/HDRenderPipeline/HDRP/Material/Lit/ShaderPass/LitDistortionPass.hlsl


#define VARYINGS_NEED_TANGENT_TO_WORLD
#endif
#define VARYINGS_NEED_TEXCOORD0 // Always use with distortion
#define VARYINGS_NEED_TEXCOORD0
#define VARYINGS_NEED_TEXCOORD1
#ifdef ATTRIBUTES_NEED_TEXCOORD2
#define VARYINGS_NEED_TEXCOORD2

正在加载...
取消
保存