浏览代码

Make the transmission tint an HDR color

Motivation:
- transmission is modulated by the albedo, which controls reflectance, not transmittance
- we do not model specular transmission, so the resulting intensity is lower
/main
GitHub 7 年前
当前提交
3318531c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      ScriptableRenderPipeline/HDRenderPipeline/HDRP/Material/DiffusionProfile/DiffusionProfileSettings.cs

2
ScriptableRenderPipeline/HDRenderPipeline/HDRP/Material/DiffusionProfile/DiffusionProfileSettings.cs


[ColorUsage(false, true)]
public Color scatteringDistance; // Per color channel (no meaningful units)
[ColorUsage(false)]
[ColorUsage(false, true)]
public Color transmissionTint; // Color, 0 to 1
public TexturingMode texturingMode;
public TransmissionMode transmissionMode;

正在加载...
取消
保存