Help Texturing a Planar EditableMesh

I have an EditableMesh made that’s a basic plane (with a little y-variation introduced so it doesn’t error as a completely flat plane). There are 4 vertices in this mesh. Color green is set using EditableMesh:AddColor/SetColor. Vertices / normals are represented by the blue dots/arrows.
This is how it looks before texturing:

Now, I’m trying to texture it with the following image:

I set the points to have a UV from the set {(0, 0,), (1, 0), (0, 1), (1, 1)}
However, when I set either SurfaceAppearance with ColorMap or MeshPart.Texture to the image, the result for both:
image

Any help with what I’m doing wrong here would be appreciated!

1 Like

I tried and I think I got what you need

Plane_Portal.rbxm (3.4 KB)

Heres how I did it

1: I made a simple plane in blender and exported it to roblox

2: I took your image and cropped it into a square

3: I put the now cropped image into the TextureID of the mesh

I also made the mesh double sided so the texture was on both sides.

Tell if this works or you need any help!

Sadly it does not because it has to be with EditableMeshes - I’m trying to eventually move to EditableImages for my EditableMeshes.

Edit* - Turns out the reason it didn’t work was because I forgot to call SetFaceUVs()

Edit2* Success (MeshPart.Texture = Image):
image

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.