This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tools:singlelightlambert [2013/10/16 15:01] – external edit 127.0.0.1 | tools:singlelightlambert [2018/02/07 16:15] (current) – [Single Light Lambert] lightwolf | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Single Light Lambert ====== | ====== Single Light Lambert ====== | ||
- | {{ :dbw:tools:singlelambertgui.png? | + | {{ :dbw:tools:singlelightlambertgui.png? |
- | Computes the lighting due to a single light and returns the shading | + | Computes the lighting due to a single light and returns the shading. |
The function input allows you to change how the shading is computed, there is also an option to compute the illuminance, | The function input allows you to change how the shading is computed, there is also an option to compute the illuminance, | ||
+ | ===== Controls ===== | ||
+ | ==== Light ==== | ||
+ | This allows you to select a single light to use for shading. If set to (none), all lights will be evaluated. | ||
+ | ==== Shading Model ==== | ||
+ | There' | ||
+ | * **Lambert** performs standard Lambert shading | ||
+ | * **Raw Light** Just returns the light values without performing any shading | ||
+ | * **Half Lambert** is a hacked lambert shading initially developed by Valve https:// | ||
+ | |||
+ | ==== Receive Shadows ==== | ||
+ | |||
+ | If this is turned on, the node will compute received shadows. Otherwise they will be ignored. | ||
+ | |||
+ | {{dbw: | ||
+ | ===== Inputs ===== | ||
+ | |||
+ | The **Function** input allows you to attach a function to tweak the shading. | ||
+ | |||
===== Outputs ===== | ===== Outputs ===== | ||
- | {{: | ||
- | * **Colour** Lambert shading for the selected light. This is the raw shading, not modified by any surface values. In that respect it is equivalent to a white surface with a diffuse value of 100% | + | **Colour**: Lambert shading for the selected light. This is the raw shading, not modified by any surface values |
- | * **isLit** 0 if the current spot is not lit by the light, 1 if it is. | + | |
- | * **Radiosity** The lighting due to radiosity. This output does not require a light to be selected. | + | |
- | * **Caustics** The lighting due to caustics. This output does not require a light to be selected. | + |