浏览代码

Small comments and cleanup

/main
Raymond Graham 7 年前
当前提交
d537f99e
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 3
      ScriptableRenderPipeline/HDRenderPipeline/ShaderPass/ShaderPassVelocity.hlsl
  2. 3
      ScriptableRenderPipeline/HDRenderPipeline/ShaderVariables.hlsl

3
ScriptableRenderPipeline/HDRenderPipeline/ShaderPass/ShaderPassVelocity.hlsl


struct AttributesPass
{
float3 previousPositionOS : TEXCOORD4; // Contain previous transform position (in case of skinning for example)
// TODO: Caution - For now the tesselation doesn't displace along the normal with Velocity shader as the previous previous position
// conflict with the normal in the semantic. This need to be fix!
};
struct VaryingsPassToPS

3
ScriptableRenderPipeline/HDRenderPipeline/ShaderVariables.hlsl


float4x4 unity_MatrixPreviousVP;
float4x4 unity_MatrixPreviousM;
float4x4 unity_MatrixPreviousMI;
//X : Use last frame positions (right now skinned meshes are the only objects that use this
//Y : Force No Motion
//Z : Z bias value
float4 unity_MotionVectorsParams;
CBUFFER_END

正在加载...
取消
保存