Extract a grayscale roughness map from your texture color image. Control contrast, brightness, and inversion for perfect PBR materials. Real-time 3D preview. All processing happens locally in your browser.
Click and drag to rotate • Scroll to zoom
Drag and drop any image file — PNG, JPEG, WebP, or BMP. The tool loads your texture for luminance analysis. Nothing is uploaded to a server.
Adjust contrast to separate rough and smooth areas, tweak brightness to shift the overall range, and toggle inversion to flip rough/smooth mapping. All changes update instantly.
Inspect the roughness map on a 3D sphere with adjustable lighting. Download the map as a PNG to use in Unity, Unreal Engine, Blender, or any PBR workflow.
The roughness map is generated using luminance analysis of your texture color image. Here's how each control affects the output.
The tool calculates the perceived brightness (luminance) of each pixel using the ITU-R BT.601 formula: 0.299×R + 0.587×G + 0.114×B. This mirrors human perception of brightness across color channels.
Contrast stretches or compresses the luminance range around the midpoint. Brightness shifts the entire range up or down. Together they let you control how much variation exists between rough and smooth regions.
By default, dark areas = rough, light areas = smooth. Flipping the Invert toggle reverses this: dark areas become smooth and light areas become rough. Useful for matching different PBR convention.
The generated roughness map is applied to a Three.js mesh alongside your texture. Rotate, zoom, and adjust lighting to verify the roughness map before downloading.
Follow this quick workflow to turn any photo or texture into a usable roughness map for PBR materials.
Upload a high-resolution photo or texture. Best results come from well-lit, evenly exposed images. Avoid extreme shadows or overexposed areas since the algorithm works with luminance values balanced exposure helps produce accurate roughness maps.
Start with contrast at 1.0. For metallic surfaces, push contrast to 1.5–2.0 and add slight negative brightness (−0.1 to −0.2) so shiny metal areas become darker (smoother). For organic surfaces like wood or fabric, lower contrast to 0.7–0.9 and push brightness slightly positive.
Check the 3D preview — rotate the model and observe how light scatters. Smooth areas should show tight reflections, rough areas should scatter light diffusely. When satisfied, download the roughness map as PNG. For a complete PBR material set, combine with other maps using the Texture to PBR Generator.
The Texture to Roughness converter is one step in a complete PBR material workflow. Combine it with these free tools.