db&w documentation wiki

finest software | finest docs

User Tools

Site Tools


tools:singlelightlambert

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revision Both sides next revision
tools:singlelightlambert [2013/10/16 15:01]
127.0.0.1 external edit
tools:singlelightlambert [2018/02/02 12:27]
lightwolf
Line 1: Line 1:
 ====== Single Light Lambert ====== ====== Single Light Lambert ======
-{{ :dbw:tools:singlelambertgui.png?​nolink|}}+{{ :dbw:tools:singlelightlambertgui.png?​nolink|}}
 Computes the lighting due to a single light and returns the shading as well as a value that is either 1 or 0 depending on whether the currently shaded spot is lit or not. Computes the lighting due to a single light and returns the shading as well as a value that is either 1 or 0 depending on whether the currently shaded spot is lit or not.
  
 The function input allows you to change how the shading is computed, there is also an option to compute the illuminance,​ which is just the amount of light hitting a spot regardless of the surface normal. The function input allows you to change how the shading is computed, there is also an option to compute the illuminance,​ which is just the amount of light hitting a spot regardless of the surface normal.
 +===== 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'​s three shading models available, however, Raw Light and Half Lambert are mostly experimental.
 +  * **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://​developer.valvesoftware.com/​wiki/​Half_Lambert
 +
 +==== Receive Shadows ====
 +
 +If this is turned on, the node will compute received shadows. Otherwise they will be ignored.
 +
 +{{dbw:​tools:​singlelightlambert.png?​nolink| ​ }}
 +===== Inputs =====
 +
 +The **Function** input allows you to attach a function to tweak the shading.
 +
 ===== Outputs ===== ===== Outputs =====
-{{:​dbw:​tools:​singlelambertnode.png?​nolink |}} 
  
-  * **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 ​such as the colour
-  * **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.+
tools/singlelightlambert.txt · Last modified: 2018/02/07 16:15 by lightwolf