light1FragmentDeclaration.fx 510 B

12345678910111213141516171819202122
  1. #ifdef LIGHT1
  2. uniform vec4 vLightData1;
  3. uniform vec4 vLightDiffuse1;
  4. #ifdef SPECULARTERM
  5. uniform vec3 vLightSpecular1;
  6. #endif
  7. #ifdef SHADOW1
  8. #if defined(SPOTLIGHT1) || defined(DIRLIGHT1)
  9. varying vec4 vPositionFromLight1;
  10. uniform sampler2D shadowSampler1;
  11. #else
  12. uniform samplerCube shadowSampler1;
  13. #endif
  14. uniform vec3 shadowsInfo1;
  15. #endif
  16. #ifdef SPOTLIGHT1
  17. uniform vec4 vLightDirection1;
  18. #endif
  19. #ifdef HEMILIGHT1
  20. uniform vec3 vLightGround1;
  21. #endif
  22. #endif