您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
17 行
868 B
17 行
868 B
using System;
|
|
|
|
namespace UnityEngine.Experimental.Rendering.HDPipeline
|
|
{
|
|
[Serializable]
|
|
public class ContactShadows : VolumeComponent
|
|
{
|
|
// Contact shadows
|
|
public BoolParameter enable = new BoolParameter(false);
|
|
public ClampedFloatParameter length = new ClampedFloatParameter(0.15f, 0.0f, 1.0f);
|
|
public ClampedFloatParameter opacity = new ClampedFloatParameter(1.0f, 0.0f, 1.0f);
|
|
public ClampedFloatParameter distanceScaleFactor = new ClampedFloatParameter(0.5f, 0.0f, 1.0f);
|
|
public MinFloatParameter maxDistance = new MinFloatParameter(50.0f, 0.0f);
|
|
public MinFloatParameter fadeDistance = new MinFloatParameter(5.0f, 0.0f);
|
|
public NoInterpClampedIntParameter sampleCount = new NoInterpClampedIntParameter(8, 4, 64);
|
|
}
|
|
}
|