Convert Roughness ↔ Glossiness / Smoothness in one browser pass
Physically based renderers split into two opposite grayscale conventions for micro-surface polish. Metallic-Roughness pipelines—including Unreal Engine 5, Blender Principled BSDF, Godot 4, Three.js, Roblox, and Substance Painter—use Roughness maps where black (0) is mirror-smooth and white (255) is completely matte. Specular-Glossiness pipelines and Unity URP/HDRP Lit shaders use Glossiness or Smoothness, where white (255) is mirror-smooth and black (0) is matte.
Using an un-inverted roughness map in Unity or Marmoset makes dusty concrete shine like wet glass while polished chrome looks chalky. Drop any roughness, smoothness, or glossiness PNG, JPEG, or WebP into the client-side Canvas inverter above to compute exact 255 − value inversion, optionally refine contrast, gamma, and brightness bias, inspect real-time min/max reflectance statistics, and download a lossless linear PNG.
Local generation runs inside this browser. Your source image is not sent to Normal Map Studio, FAL, or another model provider unless you deliberately open an AI workflow and confirm the upload disclosure.
- One-click presets for Unity Smoothness, Unreal Engine 5 Roughness, and Marmoset Glossiness.
- Fine-tune Contrast, Gamma curve, and Brightness bias to prevent overly wet or chalky highlights.
- Displays exact output Min, Max, and Mean reflectance percentage before you download.
- 100% browser-side Canvas processing—zero uploads, instant feedback, lossless PNG output.
Engine roughness vs smoothness convention matrix
Check this table whenever moving texture libraries between Unity, Unreal, Blender, Minecraft LabPBR, and web renderers so every specular response stays physically plausible.
| Engine / Shader | Expected Map | White (255) Means | Black (0) Means |
|---|---|---|---|
| Unity URP / HDRP / Built-in | Smoothness (Metallic Alpha / Mask A) | Mirror glossy | Completely matte |
| Unreal Engine 5 | Roughness | Completely matte | Mirror glossy |
| Blender Principled BSDF | Roughness | Completely matte | Mirror glossy |
| Godot 4 & Three.js / glTF 2.0 | Roughness | Completely matte | Mirror glossy |
| Minecraft LabPBR 1.3 (_s.png R) | Perceptual Smoothness | Mirror glossy | Completely matte |
| V-Ray / Corona / Spec-Gloss | Glossiness | Mirror glossy | Completely matte |
Dialing in realistic contrast and gamma without clipping
Real-world materials rarely hit pure 0 (perfect mathematical mirror) or pure 255 (perfect Lambertian chalk). After inverting a roughness map into Unity Smoothness—or converting an older Spec-Gloss texture into Unreal Roughness—watch the Output Range readout under the preview canvas. If highlights look too plastic in-engine, nudge Gamma or Brightness bias slightly so matte plaster stays around 70–90% rough and polished wood or ceramic sits around 15–35% rough.
Need the rest of the PBR material set alongside your inverted map? Open our PBR Texture Generator to build aligned normal, height, AO, and roughness maps locally for free up to 2K—or unlock Pro Local ($29 one-time) for 4K/8K exports, 2–12 texture batch queues, and channel packing.
Linear color space warning for roughness and smoothness imports
A roughness or smoothness map is linear scalar data, not an sRGB color picture. If you import your converted PNG with sRGB enabled, the gamma curve shifts mid-gray 0.50 down to roughly 0.21—making a balanced satin material look wet in Unreal or chalky in Unity. Always uncheck sRGB (Unreal) or set Color Space to Non-Color (Blender) when wiring grayscale reflectance maps.
In Unity URP and HDRP, remember that Smoothness is typically stored inside the Alpha channel of the Metallic map (URP) or the Alpha channel of the Mask Map (HDRP). Export your inverted Smoothness PNG here first so its tonal curve is already calibrated before channel-packing.
- Roughness Map Generator — Generate a fresh roughness map from any color or height texture locally.
- Normal Map for Unity — Complete Unity URP & HDRP normal and smoothness material setup guide.
- OpenGL to DirectX Normal Map Converter — Flip normal map green channels at the same time you convert roughness.
Questions about converting roughness and glossiness maps
Answers to common PBR smoothness, glossiness, and linear-space conversion questions.
Is Unity Smoothness the exact inverse of PBR Roughness?
Yes. Smoothness equals 1 minus Roughness (255 minus pixel value in 8-bit PNGs). White represents glossy surfaces in Unity Smoothness, whereas white represents matte surfaces in Roughness.
Should I adjust Gamma when converting Glossiness to Roughness?
Start with Gamma at 1.0 for a pure linear 1 − x inversion. Only tweak Gamma or Contrast if an older non-PBR specular gloss map was authored in sRGB space and looks too shiny or dull in-engine.
Why does my converted roughness map look too shiny in Unreal Engine?
Check the Texture Editor in UE5 and make sure sRGB is unchecked. Leaving sRGB on darkens midtones toward zero, which Unreal interprets as glossy.
Does this converter upload my textures to the cloud?
No. Everything runs locally on an HTML5 Canvas inside your browser tab, and the output downloads directly from browser memory.
Can I use this tool to adjust roughness brightness without inverting?
Yes. Simply uncheck Invert grayscale (255 − value) and use the Contrast, Gamma curve, and Brightness bias sliders to tighten or shift an existing roughness or smoothness map locally.
Calibrating specular response across mixed PBR asset packs
Even when two texture packs share the same Roughness or Smoothness convention, older assets authored for legacy Specular-Glossiness renderers often have narrower tonal contrast than modern Metallic-Roughness materials. After flipping a glossiness map into Roughness (or vice versa), watch the Mean Reflectance readout under the preview canvas and inspect both the darkest polished spots and the brightest matte crevices.
Exporting a clean linear PNG here saves you from adding extra OneMinus, Power, and Clamp math nodes inside every Unreal Engine Material Instance or Blender Shader Editor graph—reducing shader instruction count and keeping your texture repository self-describing.