mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-30 20:13:22 +08:00
Code and content re-work: advanced OpenGL and advanced lighting.
This commit is contained in:
@@ -7,5 +7,5 @@ uniform mat4 projection;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = projection * view * model * vec4(aPos, 1.0f);
|
||||
gl_Position = projection * view * model * vec4(aPos, 1.0);
|
||||
}
|
||||
@@ -72,8 +72,8 @@ int main()
|
||||
|
||||
// build and compile shaders
|
||||
// -------------------------
|
||||
Shader shader("11.1.anti_aliasing.vs", "11.1.anti_aliasing.fs");
|
||||
Shader screenShader("11.2.aa_post.vs", "11.2.aa_post.fs");
|
||||
Shader shader("11.anti_aliasing.vs", "11.anti_aliasing.fs");
|
||||
Shader screenShader("11.aa_post.vs", "11.aa_post.fs");
|
||||
|
||||
// set up vertex data (and buffer(s)) and configure vertex attributes
|
||||
// ------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user