
Materials in Unreal Engine 195
TABLE 4.24: Power
Properties
Const Exponent: Takes in the exponent value. Used only if the Exp input
is unused.
Inputs
Base: Ta kes in the b a se value.
Exp: Ta kes in the e xponent value .
FIGURE 4.55: Power Expression Example.
Example: Power of 0.1 as base and 2 as exp is 0.01 and Power of (0.9,0.5,0.1)
as base and 3 as exp is (0.729 ,0.125,0.001).
Example Usa ge: You can use this expression as a kind of contrast adjuster. Look-
ing at example above, notice that raising 0.9 to the power of 3 still gives a
relatively high value of 0.729, while raising a small value of 0.1 to the same
power makes it mu ch smaller (0.001 ).