Table of Contents

Class TextureSplatSettings

Namespace
DFA.Puddlecraft

Settings for a splat imported from an image: which image, which channel, and how its values map to depth.

[Serializable]
public sealed class TextureSplatSettings
Inheritance
TextureSplatSettings

Properties

blackPoint

Values at or below this become dry.

public float blackPoint { get; set; }

Property Value

float

blur

Blur radius in pixels, to soften hard edges in the source.

public int blur { get; set; }

Property Value

int

channel

Which channel of the image becomes depth.

public SplatChannel channel { get; set; }

Property Value

SplatChannel

gamma

Curve applied after levels. Above 1 makes puddles shallower, below 1 deeper.

public float gamma { get; set; }

Property Value

float

invert

Swap deep and dry.

public bool invert { get; set; }

Property Value

bool

sourceGuid

GUID of the source texture in the project. Empty when imported from a file.

public string sourceGuid { get; set; }

Property Value

string

sourcePath

Path of the source image on disk when imported from a file outside the project.

public string sourcePath { get; set; }

Property Value

string

whitePoint

Values at or above this become full depth.

public float whitePoint { get; set; }

Property Value

float