I’m working on a geometry shader that takes points, color, rotation, scale and generates a 3d cube.
The code (including the GS, VS, and FS):
For some odd reason the back half of the rotating cubes are clipped… and they’re not clipped on the back plane (which is at 100) because I can move them closer and further and the back is STILL clipped.
I’m fairly sure it has to do with my geometry shader, but after googling for hours I can’t find anything =/
The only thing I suspect it could be would be gl_ClipDistance - something I could set to fix it? But there’s no good information online…