浏览代码

Fix wrong preprocessor test for distortion (for PR 1305)

Fix wrong preprocessor test for distortion (for PR 1305)
/main
sebastienlagarde 7 年前
当前提交
4d90cc45
共有 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

正在加载...
取消
保存