({{, (RefLink[OpacityFunctionScaling, paclet:ref/OpacityFunctionScaling]) 
is an option to visualization functions such as (RefLink[DensityPlot3D, paclet:ref/DensityPlot3D]) that specifies whether arguments supplied to (RefLink[OpacityFunction, paclet:ref/OpacityFunction]) should be scaled to lie between 0 and 1.}})

OpenersNotesSection(Spacer1)Details

The usual default setting is (RefLink[OpacityFunctionScaling, paclet:ref/OpacityFunctionScaling])->(RefLink[True, paclet:ref/True]).

With (RefLink[OpacityFunctionScaling, paclet:ref/OpacityFunctionScaling])->(RefLink[False, paclet:ref/False]), original unscaled values are fed to the color function.

Scaling is done so as to make the minimum and maximum values of all variables lie between 0 and 1.

OpenersPrimaryExamplesSection(Spacer1)Examples  (2)

OpenersExampleSection0(Spacer1)Basic Examples  (2)

Parameters to (RefLink[OpacityFunction, paclet:ref/OpacityFunction]) are normally scaled to be between 0 and 1:

data=Table[x y z, {z,-5,5},{y,-5,5},{x,-5,5}];

ListDensityPlot3D[data,OpacityFunction->Function[f,If[f>0,1,0]]]

Use unscaled values by setting (RefLink[OpacityFunctionScaling, paclet:ref/OpacityFunctionScaling]) to (RefLink[False, paclet:ref/False]):

DensityPlot3D[x+y+z,{x,-1,1},{y,-1,1},{z,-1,1},OpacityFunction->Function[f,If[f>0,1,0]],OpacityFunctionScaling->False]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[OpacityFunction, paclet:ref/OpacityFunction])  ▪  (RefLink[ColorFunctionScaling, paclet:ref/ColorFunctionScaling])  ▪  (RefLink[DensityPlot3D, paclet:ref/DensityPlot3D])  ▪  (RefLink[ListDensityPlot3D, paclet:ref/ListDensityPlot3D])}})}})