Changes

Jump to navigation Jump to search
8 bytes added ,  17:44, 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/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/64694
    
Some common setups include:
 
Some common setups include:
5

edits

Navigation menu