ForwardShadingCommonVert.glsl 439 B

123456789101112131415161718
  1. // Copyright (C) 2009-2021, Panagiotis Christopoulos Charitos and contributors.
  2. // All rights reserved.
  3. // Code licensed under the BSD License.
  4. // http://www.anki3d.org/LICENSE
  5. #pragma once
  6. // Common code for all vertex shaders of FS
  7. #include <AnKi/Shaders/Common.glsl>
  8. #include <AnKi/Shaders/Include/ModelTypes.h>
  9. // In/out
  10. layout(location = VERTEX_ATTRIBUTE_ID_POSITION) in Vec3 in_position;
  11. out gl_PerVertex
  12. {
  13. Vec4 gl_Position;
  14. };