Skip to content
Snippets Groups Projects
Commit 99b22389 authored by Artur Wasmut's avatar Artur Wasmut
Browse files

fix clipping of vertices. lol.

parent f22dffcd
No related branches found
No related tags found
1 merge request!74Resolve "Mesh Shader Implementation"
Pipeline #26212 passed
......@@ -22,8 +22,8 @@ void main() {
gl_PrimitiveIndicesNV[1] = 1;
gl_PrimitiveIndicesNV[2] = 2;
gl_MeshVerticesNV[0].gl_Position = vec4(-0.5, 0.5, -1, 1);
gl_MeshVerticesNV[1].gl_Position = vec4( 0.5, 0.5, -1, 1);
gl_MeshVerticesNV[2].gl_Position = vec4( 0 , -0.5, -1, 1);
gl_MeshVerticesNV[0].gl_Position = vec4(-0.5, 0.5, 0.5, 1);
gl_MeshVerticesNV[1].gl_Position = vec4( 0.5, 0.5, 0.5, 1);
gl_MeshVerticesNV[2].gl_Position = vec4( 0 , -0.5, 0.5, 1);
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment