| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionFresnel.h |
Include |
#include "Materials/MaterialExpressionFresnel.h" |
class UMaterialExpressionFresnel : public UMaterialExpression
Allows the artists to quickly set up a Fresnel term. Returns: pow(1 - max(Normal dot Camera,0),Exponent)
Name | Description | ||
---|---|---|---|
|
float |
BaseReflectFraction |
Specifies the fraction of specular reflection when the surfaces is viewed from straight on. |
|
BaseReflectFractionIn |
||
|
float |
Exponent |
The exponent to pass into the pow() function |
|
ExponentIn |
||
|
Normal |
The normal to dot with the camera FVector |
Name | Description | |
---|---|---|
|
UMaterialExpressionFresnel ( |
Name | Description | ||
---|---|---|---|
|
Compile ( |
Create the new shader code chunk needed for the Abs expression |
|
|
GetCaption |
Returns the text to display on the material expression (in the material editor). |