Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

anti_aliasing example gives shader error #4

Open
ForceFaction opened this issue Jan 9, 2020 · 0 comments
Open

anti_aliasing example gives shader error #4

ForceFaction opened this issue Jan 9, 2020 · 0 comments

Comments

@ForceFaction
Copy link

ForceFaction commented Jan 9, 2020

This is pasted from my Terminal. I don't know how to read this error message :(.

Shader Compile Error (/home/mfg/Documents/easygl/examples/advanced_opengl/shaders/anti_aliasing.vert):
#version 330 core
layout (location = 0) in vec3 aPos;

uniform mat4 model;
uniform mat4 view;
uniform mat4 projection;

void main()
{
    gl_Position = projection * view * model * vec4(aPos, 1.0);
}


Shader Compile Error (/home/mfg/Documents/easygl/examples/advanced_opengl/shaders/anti_aliasing.frag):
e
layout (location = 0) in vec3 aPos;

uniform mat4 model;
uniform mat4 view;
uniform mat4 projection;

void main()
{
    gl_Position = projection * view * model * vec4(aPos, 1.0);
}


Link Error:
on = 0) in vec3 aPos;

uniform mat4 model;
uniform mat4 view;
uniform mat4 projection;

void main()
{
    gl_Position = projection * view * model * vec4(aPos, 1.0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant