Home Technical Talk

Odd results when pinching vertices to create a cone-shaped linear gradient

Hi,

So I recently needed to create a cone which fades out to the edges. It seemed very simple to me, but I ran into some issues, which I see as an opportunity to learn something.

So, since the cone doesn't necessarily need to be 3D, my first idea was to create a simple plane with a ramp like this:



And then pinch the vertices on one end. This would, in my theory, lead to something like this (Photoshop example):



The shader (in UE4) for that would obviously be really, really simple, if the mesh would work like that.
However – what actually happens when pinching the verts is this:



This is not related to 3dsMax (we tried it in Maya and Houdini aswell) and it's also not related to not welding the vertices (also tried that).
Importing the plane "anyway" in UE4 and trying to use it on a shader yields the exact same artifact.

Tesselating the plane and doing the same thing with soft-selection works. However, I don't know why the initial technique (four verts) doesn't work. There seems to be some principle of 3D that I'm missing that makes what I'm trying to do impossible. But I don't quite understand why.

Is there any kind soul that is also a 3D mastermind that can explain what I'm missing here?

Cheers,
- Nico

Replies

Sign In or Register to comment.