#Chaos with geometry shader

4 messages · Page 1 of 1 (latest)

inner rose
#

I have geometry shader which looks like: https://pastebin.com/fpX6P40b

If I change

gl_Position = mvp * vec4(endX, endY, 1.0, 1.0);

To

gl_Position = mvp * vec4(endX + center.x, endY + center.y, 1.0, 1.0);

Chaos appears, like I've commented out in the source. Which is not what it should be, instead it should look like in the image, a neat little ball shape, formed of objects.
Instead it looks like the chaos on the video, or the gif incase I can't post video.

Anybody have any ideas?

honest gazelleBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

inner rose
#

!solved

honest gazelleBOT
#

Thank you and let us know if you have any more questions!

This thread is now set to auto-hide after an hour of inactivity