> For the complete documentation index, see [llms.txt](https://amazing-assets.gitbook.io/wireframe-shader/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://amazing-assets.gitbook.io/wireframe-shader/wireframe-texture-generation/editor-window.md).

# Editor Window

**Wireframe Texture Generator** editor window can be opened from the <mark style="color:blue;">**Main Toolbar**</mark> <mark style="color:blue;">→</mark> <mark style="color:blue;">**Window**</mark> <mark style="color:blue;">→</mark> <mark style="color:blue;">**Amazing Assets**</mark> <mark style="color:blue;">→</mark> <mark style="color:blue;">**Wireframe Shader**</mark> menu:

<figure><img src="https://2216819203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMdyfl1Bb9QTpdePM8tyr%2Fuploads%2F7FsmGm96PTxWQOA3NByY%2F29.avif?alt=media&amp;token=32c76684-bcf5-455f-b0b1-2b61ef0d6324" alt="" width="563"><figcaption></figcaption></figure>

To generate wireframe textures for meshes, drag & drop them from the **Hierarchy** and **Project** windows here. You can also drag & drop entire folders, and they are parsed automatically.

Before using **Wireframe Texture Generator**, reset its settings using the mouse right-click context menu:

<figure><img src="https://2216819203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMdyfl1Bb9QTpdePM8tyr%2Fuploads%2FNSA36vch6vD2BaS5i8B1%2F5.png?alt=media&amp;token=53fc1a35-3d9a-4158-aef9-9295559e01a6" alt="" width="189"><figcaption></figcaption></figure>

{% tabs %}
{% tab title="Settings" icon="gear" %}

<div align="left"><figure><img src="https://2216819203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMdyfl1Bb9QTpdePM8tyr%2Fuploads%2Fxzd0QgmxPt720b5akRwS%2F30.png?alt=media&amp;token=6982a297-9020-4036-8e24-eab098640a57" alt="" width="563"><figcaption></figcaption></figure></div>

A wireframe texture can be generated using the dynamic shader on the GPU, or it can be read from barycentric coordinates baked inside the mesh:

<div align="left"><figure><img src="https://2216819203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMdyfl1Bb9QTpdePM8tyr%2Fuploads%2FeG3cKGgsMWCH4dLohiWh%2F31.png?alt=media&amp;token=ed19d5fd-372b-48c8-8a49-a7b5700348f8" alt="" width="113"><figcaption></figcaption></figure></div>

**Shape** - Renders wireframe in **Triangle** or **Quad** shape.

{% hint style="warning" %}
Note, quad wireframe rendering is a pure approximation by a shader, and its quality depends heavily on the vertex/triangle layout. Not all meshes can produce a *'good-looking'* quad wireframe.
{% endhint %}

**Normalize Edges** - Reduces wireframe edge thickness differences between neighboring triangle faces.

**Thickness** & **Smoothness** - Wireframe rendering visual options. If the **Preview** section is open, the effect of these properties can be viewed directly in the preview window.
{% endtab %}

{% tab title="Preview" icon="eye" %}
Helps preview the mesh wireframe texture before baking. If the mesh contains multiple sub-meshes, they can be previewed individually or as one combined texture.
{% endtab %}

{% tab title="Save" icon="floppy-disk" %}

<div align="left"><figure><img src="https://2216819203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMdyfl1Bb9QTpdePM8tyr%2Fuploads%2FXWEqDMtD0ogmENkXNGdg%2F32.png?alt=media&amp;token=94b50dd7-84cf-4614-84b9-fcc0c86caf00" alt="" width="563"><figcaption></figcaption></figure></div>

**Resolution** - Generated texture resolution.

**Format** - Texture save format: JPG, PNG or TGA.

**Combine Submeshes** - By default, a wireframe texture is generated for each sub-mesh separately. Enabling this option merges all sub-meshes and generates one texture file.

**Name** - Adds prefix & suffix to the generated texture file name.

**Location** - Generated files save location. It can be any folder on the hard drive, inside or outside a project.
{% endtab %}
{% endtabs %}
