浏览代码

Add comments

/feature-ReflectionProbeFit
Evgenii Golubev 7 年前
当前提交
452affe6
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 2
      ScriptableRenderPipeline/HDRenderPipeline/HDRP/Camera/HDCamera.cs
  2. 2
      ScriptableRenderPipeline/HDRenderPipeline/HDRP/ShaderVariables.hlsl

2
ScriptableRenderPipeline/HDRenderPipeline/HDRP/Camera/HDCamera.cs


}
}
// View-projection matrix from the previous frame.
// View-projection matrix from the previous frame (non-jittered).
public Matrix4x4 prevViewProjMatrix;
// We need to keep track of these when camera relative rendering is enabled so we can take

2
ScriptableRenderPipeline/HDRenderPipeline/HDRP/ShaderVariables.hlsl


// TODO: sort these vars by the frequency of use (descending), and put commonly used vars together.
// Note: please use UNITY_MATRIX_X macros instead of referencing matrix variables directly.
CBUFFER_START(UnityPerPass)
float4x4 _PrevViewProjMatrix;
float4x4 _PrevViewProjMatrix; // non-jittered
float4x4 _ViewProjMatrix;
float4x4 _NonJitteredViewProjMatrix;
float4x4 _ViewMatrix;

正在加载...
取消
保存