Warning: Undefined array key "translationlc" in /usr/www/users/fabook/_diggets/doc/v2/lib/plugins/translation/action.php on line 237
Warning: Cannot modify header information - headers already sent by (output started at /usr/www/users/fabook/_diggets/doc/v2/lib/plugins/translation/action.php:237) in /usr/www/users/fabook/_diggets/doc/v2/inc/Action/Export.php on line 104
Warning: Cannot modify header information - headers already sent by (output started at /usr/www/users/fabook/_diggets/doc/v2/lib/plugins/translation/action.php:237) in /usr/www/users/fabook/_diggets/doc/v2/inc/Action/Export.php on line 104
Warning: Cannot modify header information - headers already sent by (output started at /usr/www/users/fabook/_diggets/doc/v2/lib/plugins/translation/action.php:237) in /usr/www/users/fabook/_diggets/doc/v2/inc/Action/Export.php on line 104
====== RimLighting Material (TGorillaRimLightingMaterialSource) ======
The rim lighting material **TGorillaRimLightingMaterialSource** is inherited from the TGorillaDefaultMaterialSource and supports multiple lights and many more features.
{{:0.8.4:rimlighting.jpg|}}
===== What is a rim light? =====
A rim light is placed behind a subject that exposes the outline or rim of the subject with light. This lighting highlights the contours of a subject and creates a dramatic and mysterious effect.
Rim lights can be used in a variety of ways. They can be used alone as a rim lighting setup to create a high contrast, stylized image. They can also be used in conjunction with other lighting setups such as the traditional 3 point lighting setup. When used in other lighting setups, these lights are often referred to as “hair lights” or “halo lighting.”
[[https://www.studiobinder.com/blog/what-is-a-rim-light-photography-definition/]]
===== Properties =====
^Property ^Descr ^
|Rim|Defines the intensity of the rim light rendering (value between 0.0 - 1.0) |
|RimColor|Define the color of the rim light rendered.|
===== Example =====
uses
Gorilla.Material.RimLighting;
[...]
var FRimLightMaterial : TGorillaRimLightingMaterialSource;
FRimLightMaterial := TGorillaRimLightingMaterialSource.Create(GorillaViewport1);
FRimLightMaterial.Parent := GorillaViewport1;
/// load the diffuse color texture as usual.
FRimLightMaterial.Texture.LoadFromFile('wood.png');
/// configure rim lighting intensity
FRimLightMaterial.Rim := 0.1;
/// defining the color of rim lighting
FRimLightMaterial.RimColor := TAlphaColorRec.White;