Jesse-V / Folding-Atomata

3D simulation viewer for Folding@home
17 stars 6 forks source link

Prevent ambient light from canceling point-light #20

Closed Jesse-V closed 11 years ago

Jesse-V commented 11 years ago

Right now, ambient light is set at (1, 1, 1). A point-light gives additional light to areas within its sphere of influence, but the fragment color can't get any brighter than (1, 1, 1). Therefore, the point-light has no effect. The lighting blending needs to be such that the models are generally bright, but point-lights can still clearly be seen.