我们创建了 Fontainebleau 演示来说明摄影photogrammetry流程和 LayeredLit 着色器的使用。
您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

28 行
1.3 KiB

using UnityEngine.Rendering;
using UnityEngine;
namespace HDRPSamples
{
[System.Serializable]
public class BasicWind : VolumeComponent
{
[Header("General Parameters")]
public FloatParameter attenuation = new FloatParameter(1.0f);
[Header("Noise Parameters")]
[Tooltip("Texture used for wind turbulence")]
public TextureParameter noiseTexture = new TextureParameter(null);
[Tooltip("Size of one world tiling patch of the Noise Texture, for bending trees")]
public FloatParameter flexNoiseWorldSize = new FloatParameter(175.0f);
[Tooltip("Size of one world tiling patch of the Noise Texture, for leaf shivering")]
public FloatParameter shiverNoiseWorldSize = new FloatParameter(10.0f);
[Header("Gust Parameters")]
[Tooltip("Texture used for wind gusts")]
public TextureParameter gustMaskTexture = new TextureParameter(null);
[Tooltip("Size of one world tiling patch of the Gust Texture, for leaf shivering")]
public FloatParameter gustWorldSize = new FloatParameter(600.0f);
[Tooltip("Wind Gust Speed in Kilometers per hour")]
public FloatParameter gustSpeed = new FloatParameter(50.0f);
[Tooltip("Wind Gust Influence on trees")]
public FloatParameter gustScale = new FloatParameter(1.0f);
}
}