17 lines
495 B
GLSL
17 lines
495 B
GLSL
//This shader file is part of FLAR - Advanced Renderer for Freelancer by Schmackbolzen
|
|
//If you use the supplied shader files you may not modify them unless you state in them what you changed
|
|
//and also mention the source or who the author is.
|
|
//Code based on https://learnopengl.com/PBR/IBL/Specular-IBL
|
|
|
|
|
|
#version 330
|
|
layout (location = 0) in vec3 aPos;
|
|
layout (location = 1) in vec2 aTexCoords;
|
|
|
|
out vec2 TexCoords;
|
|
|
|
void main()
|
|
{
|
|
TexCoords = aTexCoords;
|
|
gl_Position = vec4(aPos, 1.0);
|
|
} |