浏览代码

Mark functions as static

/main
Evgenii Golubev 7 年前
当前提交
58c2d521
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      ScriptableRenderPipeline/HDRenderPipeline/HDRP/Lighting/Volumetrics/VolumetricLighting.cs

4
ScriptableRenderPipeline/HDRenderPipeline/HDRP/Lighting/Volumetrics/VolumetricLighting.cs


}
// Undoes coefficient normalization to obtain the canonical values of SH.
public unsafe SphericalHarmonicsL2 DenormalizeSH(SphericalHarmonicsL2 sh)
public static unsafe SphericalHarmonicsL2 DenormalizeSH(SphericalHarmonicsL2 sh)
{
float sqrtPi = Mathf.Sqrt(Mathf.PI);

}
// Ref: "Stupid Spherical Harmonics Tricks", p. 6.
public unsafe SphericalHarmonicsL2 Convolve(SphericalHarmonicsL2 sh, ZonalHarmonicsL2 zh)
public static unsafe SphericalHarmonicsL2 Convolve(SphericalHarmonicsL2 sh, ZonalHarmonicsL2 zh)
{
for (int l = 0; l <= 2; l++)
{

正在加载...
取消
保存