I was wondering if anyone could help me out with this: I’m trying to cut of the edges off my quad so it’ll become a circle.
Do I use setActiveTechnique for that? Where can I read more about this?
You cannot “cut the edges off”. A mesh is a bunch of vertexes and you need more of those to make a circle. So to modify a mesh you have to modify/create the vertexes or just model it in some modeling tool like blender.
Oh yeah, you’re right. But I more like meant to say was how to realtime edit the texture so technically the edges are transparent.
See, I wan’t to create a round portal, if you will, so the texture is a viewport. This is why it needs to be on the fly.
Basicly I want to edit certain Vector2f positions on the texture.
Okay, thanks. Will go the custom mesh way then.