Changes

No change in size ,  14:53, 23 June 2016
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 view angle and a LUT. The equations used can be found here: http://mathb.in/64690
+
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 view angle and a LUT. The equations used can be found here: http://mathb.in/64694
    
Some common setups include:
 
Some common setups include:
5

edits