Installing and Using Mesh Generator in Photopea
Create editable mockups in Photopea in just a few clicks. This guide will walk you through installing Mesh Generator and applying your own artwork to a photograph, right in your browser.
Using Adobe Photoshop instead? See the Photoshop guide.
- Install Mesh Generator
- Open the Plugin
- Select Your Surface
- Generate the Mesh
- View and Edit the Mesh
- Apply Your Own Pattern
Step 1. Install Mesh Generator
Mesh Generator is available in Photopea’s plugin catalog, so there is nothing to download:
- Go to photopea.com.
- Select Window → Plugins.
- Search for Mesh Generator.
- Click Install.
Step 2. Open the Plugin
Once installed, Mesh Generator gets its own icon in the toolbar on the right side of Photopea. Click it to open the Mesh Generator panel.
At first, the Generate from selection button is not ready to use. It needs a selection around the surface you want to cover, as described in the next step.
Step 3. Select Your Surface
Open the photo you want to turn into a mockup (File → Open, or drag it into Photopea).
Using your preferred selection tool, select the area where you want your artwork to appear. The Object Selection tool works well for most surfaces: you’ll find it in the toolbar on the left, grouped with Magic Wand and Quick Selection.
With Object Selection, simply drag a rectangle around the object.
Photopea selects the object for you. You can refine the selection with any other selection tool if needed.
The selection tells Mesh Generator which surface to analyze and where to apply the resulting Smart Object.
Step 4. Generate the Mesh
Click Generate from selection in the Mesh Generator panel. The number next to the button shows how many generations you have left.
The first time you do this, Mesh Generator asks you to agree to its Privacy Policy and Terms of Service. You need to click I Agree to use the plugin.
The plugin analyzes the photo and calculates a mesh that follows the selected surface’s curves, folds, and perspective.
After a few seconds, a new Mesh Generator Smart Object layer appears in your document. It comes with a default grid pattern, so you can check right away how well the mesh follows the surface.
Tip: The generated layer uses Multiply blending mode, which can help preserve shadows and highlights from the original photo.
Step 5. View and Edit the Mesh
The generated mesh is a regular warp transformation, so you can view and fine-tune it:
- Select the Mesh Generator layer in the Layers panel.
- Choose Edit → Free Transform and switch to Warp in the top toolbar. The mesh appears on top of the photo.
- Drag the mesh points to adjust how the artwork follows the surface.
- Press Enter to apply your changes, or Esc to keep the mesh as it was.
Step 6. Apply Your Own Pattern
Now comes the fun part!
- In the Layers panel, double-click the thumbnail of the Mesh Generator layer. Its contents open in a new tab.
- Replace the default grid with your own artwork: place your pattern, texture, or picture as a new layer (File → Open & Place), and adjust its position and scale.
- Save the Smart Object (Ctrl+S on Windows or Cmd+S on Mac) and switch back to your original document’s tab.
Your artwork now follows the generated mesh.
Reuse and Customize Your Mesh
You only need to generate the mesh once for the same surface.
Want to try a different pattern or colorway? Simply reopen the Smart Object, replace the artwork, and save.
You can also modify the mesh itself or adjust blending and other layer properties.
There’s no need to spend another generation just to change the artwork inside an existing Smart Object.