b486678290
Library -Artifacts
20 lines
752 B
C#
20 lines
752 B
C#
namespace UnityEditor.TerrainTools
|
|
{
|
|
/// <summary>
|
|
/// A NoiseType implementation for Ridge noise.
|
|
/// </summary>
|
|
[System.Serializable]
|
|
internal class RidgeNoise : NoiseType<RidgeNoise>
|
|
{
|
|
private static NoiseTypeDescriptor desc = new NoiseTypeDescriptor()
|
|
{
|
|
name = "Ridge",
|
|
outputDir = "Packages/com.unity.terrain-tools/Shaders/NoiseLib",
|
|
sourcePath = "Packages/com.unity.terrain-tools/Shaders/NoiseLib/Implementation/RidgeImpl.hlsl",
|
|
supportedDimensions = NoiseDimensionFlags._1D | NoiseDimensionFlags._2D | NoiseDimensionFlags._3D,
|
|
inputStructDefinition = null
|
|
};
|
|
|
|
public override NoiseTypeDescriptor GetDescription() => desc;
|
|
}
|
|
} |