Skip to content

anti_aliasing example gives shader error #4

@ForceFaction

Description

@ForceFaction

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);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions