Commit before picture change
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user