浏览代码

Update LitVelocityPass.hlsl

/main
GitHub 7 年前
当前提交
5220738e
共有 1 个文件被更改,包括 1 次插入5 次删除
  1. 6
      ScriptableRenderPipeline/HDRenderPipeline/Material/Lit/ShaderPass/LitVelocityPass.hlsl

6
ScriptableRenderPipeline/HDRenderPipeline/Material/Lit/ShaderPass/LitVelocityPass.hlsl


#define REQUIRE_TANGENT_TO_WORLD 0 /* (defined(_HEIGHTMAP) && defined(_PER_PIXEL_DISPLACEMENT)) */
// This first set of define allow to say which attributes will be use by the mesh in the vertex and domain shader (for tesselation)
#if defined(_VERTEX_WIND)
#define ATTRIBUTES_NEED_NORMAL
#endif
#if defined(TESSELLATION_ON) || REQUIRE_TANGENT_TO_WORLD
#if defined(TESSELLATION_ON) || REQUIRE_TANGENT_TO_WORLD || defined(_VERTEX_WIND)
// #define ATTRIBUTES_NEED_NORMAL - When reenable, think to also enable code in VertMesh.hlsl
#endif
#if REQUIRE_TANGENT_TO_WORLD

正在加载...
取消
保存