LWJGL - Intersecting quads issue

SO I’m creating faux 3D grass by intersecting 2 quads. But that causes white stitching at points of intersection.

As always heres a gif for reference:

Any ideas?

PLUS the farther away I am the whiter it gets.

I’m far from an OpenGL expert, but a quick google reveals a stack overflow post with what seems like a similar problem:

Link: http://stackoverflow.com/questions/12373605/removal-of-white-line-on-intersection-of-2-quads-in-opengl

I’ve checked that already. The solution is not there. Thanks though

This happen with any intersection by the way.

very odd.

Okay has to do with lighting. When I disable directional light and only have ambient light its fine. Any ideas?

I think I know what’s happening, the line in the GIF you posted is bright green, and both of the textures are dark green. I think that the lighting applied on one quad is adding to the lighting on the other, thus the color becomes brighter. I may be wrong, though. And even if I’m right, I’ve got no idea o how to fix it.

Yup. I think you’re right. And I also have no idea how to fix it x.x

the lightning is “fixed-pipeline”, using glLight() and such ?

Nope, using shaders.

I’m making a game dev library for personal use. So I’m packing it with everything using modern OpenGL.