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: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntax
C#
public float GradientFactor { get; set; }

Property Value

Single
See Also