Lines Matching full:ambient
242 Vector4f ambient;
245 ambient.x = globalAmbient.x;
246 ambient.y = globalAmbient.y;
247 ambient.z = globalAmbient.z;
285 // Ambient per light
289 ambient.x = ambient.x + lightAmbient.x * att;
290 ambient.y = ambient.y + lightAmbient.y * att;
291 ambient.z = ambient.z + lightAmbient.z * att;
406 ambient.x = ambient.x * materialAmbient.x;
407 ambient.y = ambient.y * materialAmbient.y;
408 ambient.z = ambient.z * materialAmbient.z;
414 ambient.x = ambient.x * materialDiffuse.x;
415 ambient.y = ambient.y * materialDiffuse.y;
416 ambient.z = ambient.z * materialDiffuse.z;
422 ambient.x = ambient.x * materialSpecular.x;
423 ambient.y = ambient.y * materialSpecular.y;
424 ambient.z = ambient.z * materialSpecular.z;
428 o[C0].x = o[C0].x + ambient.x;
429 o[C0].y = o[C0].y + ambient.y;
430 o[C0].z = o[C0].z + ambient.z;