 |
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.MaterialsAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
Syntaxpublic float GradientFactor { get; set; }Property Value
Single
See Also