Changes

No change in size ,  18:51, 22 July 2018
→‎Fragment Lighting Equation: updated mathbin link
Line 33: Line 33:     
== Fragment Lighting Equation ==
 
== Fragment Lighting Equation ==
There are two lighting equations: One for the primary color and one for the secondary color. Both of them are given in section 3.2.2 of the "Kazakov and Ohbuchi" source below. In addition, the fragment lighting can be set up to write to the alpha channel of the primary or secondary color depending on a selectable angle and a LUT. The equations used can be found here: http://mathb.in/64694
+
There are two lighting equations: One for the primary color and one for the secondary color. Both of them are given in section 3.2.2 of the "Kazakov and Ohbuchi" source below. In addition, the fragment lighting can be set up to write to the alpha channel of the primary or secondary color depending on a selectable angle and a LUT. The equations used can be found here: http://mathb.in/26766
    
Some common setups include:
 
Some common setups include:
5

edits