Method ShapeAttenuationAreaRectangleLight
ShapeAttenuationAreaRectangleLight(Vector3, Vector3)
Attenuation by Light Shape for Area Light with Rectangular Shape
Declaration
public static float ShapeAttenuationAreaRectangleLight(Vector3 forward, Vector3 wo)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | forward | Forward Vector of Directional Light |
Vector3 | wo | Vector pointing to the eye |
Returns
Type | Description |
---|---|
float | Attenuation Factor |