Click or drag to resize
Ab4d.SharpEngine logo

VolumeMaterialGradientFactor Property

Gets or sets a float value that is passed to the fragment shader where it is multiplied by the calculated gradient value (it represents how much the value from the 3D texture changes between neighbor voxels). When set to 0, then the gradient value is not calculated. This slightly improves the performance because fewer values are read from the 3D texture. Default value is 1f.

Namespace: Ab4d.SharpEngine.Materials
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public float GradientFactor { get; set; }

Property Value

Single

[Missing <value> documentation for "P:Ab4d.SharpEngine.Materials.VolumeMaterial.GradientFactor"]

Remarks

[Missing <remarks> documentation for "P:Ab4d.SharpEngine.Materials.VolumeMaterial.GradientFactor"]

See Also