浏览代码

Update ShaderConfig.cs

/main
GitHub 7 年前
当前提交
d920500c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      ScriptableRenderPipeline/HDRenderPipeline/HDRP/ShaderConfig.cs

2
ScriptableRenderPipeline/HDRenderPipeline/HDRP/ShaderConfig.cs


public enum ShaderOptions
{
CameraRelativeRendering = 1, // Rendering sets the origin of the world to the position of the primary (scene view) camera
UseDisneySSS = 1 // Allow to chose between Burley Normalized Diffusion (Multi + Fix single scattering) or Jimenez diffusion approximation (Multiscattering only - More blurry) for Subsurface scattering
UseDisneySSS = 1 // Allow to chose between Burley Normalized Diffusion (Multi + Fix direction single scattering) or Jimenez diffusion approximation (Multiscattering only - More blurry) for Subsurface scattering
};
// Note: #define can't be use in include file in C# so we chose this way to configure both C# and hlsl

正在加载...
取消
保存