You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
217 B

  1. #ifdef GL_ES
  2. precision mediump float;
  3. #endif
  4. uniform vec4 U_AmbientMaterial;
  5. uniform vec4 U_AmbientLight;
  6. void main()
  7. {
  8. vec4 ambirntColor = U_AmbientMaterial*U_AmbientLight;
  9. gl_FragColor=ambirntColor;
  10. }