MasDennis/Rajawali — pull request #458 by Davhed (2013-03-07 18:15:31+00:00)
Title: Relocated ambient light contribution

Reason

The ambient color equation was improperly placed after the alpha calculations. This caused the alpha to be set to 1.0 regardless of the alpha assigned. Oops!

Method

Quick fix: simply moved the ambient color contribution into the `gl_fragColor` calculation.

Usage

No change