LfOcclusion.frag.glsl 553 B

123456789101112131415161718192021222324
  1. // Copyright (C) 2009-2017, Panagiotis Christopoulos Charitos and contributors.
  2. // All rights reserved.
  3. // Code licensed under the BSD License.
  4. // http://www.anki3d.org/LICENSE
  5. // LF occlusion frag shader
  6. #include "shaders/Common.glsl"
  7. // WORKAROUND: For some reason validation layer complains
  8. #ifdef ANKI_VK
  9. layout(location = 0) out vec4 out_msRt0;
  10. layout(location = 1) out vec4 out_msRt1;
  11. layout(location = 2) out vec4 out_msRt2;
  12. #endif
  13. void main()
  14. {
  15. #ifdef ANKI_VK
  16. out_msRt0 = vec4(0.0);
  17. out_msRt1 = vec4(0.0);
  18. out_msRt2 = vec4(0.0);
  19. #endif
  20. }