Original Post
Hi, i have problem with getting modelView coord in deferred convex geometry rendering.
i`m doing this like that:
and i m getting position like this(with convex cane- spot light):

but it should look like part of this one:

What am i doing wrong?
i`m doing this like that:
vec2 coord=(gl_ModelViewMatrix*gl_Vertex).xy;and i m getting position like this(with convex cane- spot light):

but it should look like part of this one:

What am i doing wrong?