Commit before picture change

This commit is contained in:
2021-02-28 21:26:20 +01:00
parent 4a85177522
commit bb05bcaaf1
5 changed files with 143 additions and 44 deletions
+4 -4
View File
@@ -16,14 +16,14 @@ void main()
// vec2 posc = vBackPoss[0].xy;
// vec2 posd = vBackPoss[0].zw;
gl_Position = vec4 (posa, 0 , 1);
EmitVertex();
gl_Position = vec4 (posa + (200 * (posa - lightPos)), 0 , 1);
EmitVertex();
gl_Position = vec4 (posb, 0 , 1);
EmitVertex();
gl_Position = vec4 (posb + (200 * (posb - lightPos)), 0 , 1);
EmitVertex();
gl_Position = vec4 (posa, 0 , 1);
EmitVertex();
gl_Position = vec4 (posa + (200 * (posa - lightPos)), 0 , 1);
EmitVertex();
EndPrimitive();
}