浏览代码

Merge pull request #731 from Unity-Technologies/Fix-wrong-generated-atmospheric-scattering.cs.hlsl

HDRenderPipeline: Update correctly AtmosphericScattering.cs.hlsl
/feature-ReflectionProbeFit
GitHub 7 年前
当前提交
93b286e2
共有 2 个文件被更改,包括 10 次插入10 次删除
  1. 16
      ScriptableRenderPipeline/HDRenderPipeline/HDRP/Sky/AtmosphericScattering/AtmosphericScattering.cs
  2. 4
      ScriptableRenderPipeline/HDRenderPipeline/HDRP/Sky/AtmosphericScattering/AtmosphericScattering.cs.hlsl

16
ScriptableRenderPipeline/HDRenderPipeline/HDRP/Sky/AtmosphericScattering/AtmosphericScattering.cs


Exponential
}
[GenerateHLSL]
public enum FogColorMode
{
ConstantColor,
SkyColor,
}
[Serializable]
public sealed class FogTypeParameter : VolumeParameter<FogType>
{

}
}
[GenerateHLSL]
public enum FogColorMode
{
ConstantColor,
SkyColor,
}
}
}

4
ScriptableRenderPipeline/HDRenderPipeline/HDRP/Sky/AtmosphericScattering/AtmosphericScattering.cs.hlsl


#ifndef ATMOSPHERICSCATTERING_CS_HLSL
#define ATMOSPHERICSCATTERING_CS_HLSL
//
// UnityEngine.Experimental.Rendering.HDPipeline.AtmosphericScatteringSettings+FogType: static fields
// UnityEngine.Experimental.Rendering.HDPipeline.FogType: static fields
//
#define FOGTYPE_NONE (0)
#define FOGTYPE_LINEAR (1)

// UnityEngine.Experimental.Rendering.HDPipeline.AtmosphericScatteringSettings+FogColorMode: static fields
// UnityEngine.Experimental.Rendering.HDPipeline.FogColorMode: static fields
//
#define FOGCOLORMODE_CONSTANT_COLOR (0)
#define FOGCOLORMODE_SKY_COLOR (1)

正在加载...
取消
保存