EditSafely

Generate Specular Map from PNG

Turn a PNG's brightness into a greyscale specular map, with contrast and a cut-off for matte areas.

Runs on your device, nothing uploaded

Drop images anywhere on this page

or paste with Ctrl / ⌘ + V ·

Accepts PNG · several at once

Your PNG files never leave this tab

Generate Specular Map from PNG is JavaScript that your browser has already downloaded, and it does the whole job on your own machine. On a normal site, 200 photos straight off a camera means 1.6 GB uploaded, a wait in somebody's queue, and 240 MB downloaded again. Here it means 0 bytes up and 0 bytes down.

  • No upload
  • No file size limit
  • Works offline once loaded
  • Nothing stored or logged

How to use Generate Specular Map from PNG

  1. 1. Add the source PNG. Drop in the colour texture. Its brightness becomes the starting point of the map: light areas shine more, dark areas less. Transparent pixels come out black.
  2. 2. Shape the highlights. Raise the contrast to separate shiny from dull areas, shift the brightness for overall gloss, and raise the matte cut-off so every pixel below it turns fully black and never reflects.
  3. 3. Download the specular map. The greyscale map refreshes as you adjust it. Download the PNG and plug it into the specular slot, or invert it for a roughness slot that expects the opposite.

When to use Generate Specular Map from PNG

Generate Specular Map from PNG builds a greyscale mask that tells a renderer how strongly each part of a surface reflects light. It starts from brightness and lets you push contrast and cut off dull areas, which is the usual way to hand-make a specular map from a colour texture.

  • Highlights on a game texture. A floor texture should gleam on its polished tiles but not in the grout. The specular map keeps the bright tiles light and the dark grout black.
  • Masking out matte materials. Rust, cloth or dirt should never catch a highlight. Raise the cut-off until those darker areas drop to pure black while metal stays bright.
  • Making a roughness map. Engines that use roughness instead of specular want the reverse values. Turn on invert to get a map where dark means glossy.

Examples

Wet stones

Input

stones.png, contrast 30

Output

Bright stone tops shine, dark gaps stay dull

Metal plate with rust

Input

plate.png, threshold 120

Output

Clean metal is grey to white, rusty patches are cut to black

About the Generate Specular Map from PNG tool

Generate Specular Map from PNG is a free online tool that works entirely inside your web browser. Turn a PNG's brightness into a greyscale specular map, with contrast and a cut-off for matte areas. Because the processing happens on your own device, nothing you enter is uploaded, logged or stored anywhere.

This page is one of 292 PNG utilities on EditSafely. Each one does a single job well, and all of them follow the same rule: your input stays on your machine.

You can shape the output with 4 settings, including Contrast, Brightness, Matte below (0 to 255) and Invert (dark areas shine); the result is redone automatically when you change one. The finished file is put together in browser memory and saved with the Download button, so it never touches a server on the way to your disk. 2 worked examples further down the page show exactly what the tool produces for real inputs.

Because nothing leaves your device, the tool is suitable for sensitive images such as ID scans, screenshots of internal systems or personal photos. It is also quick, since the pixels are processed on your own machine rather than by a remote API.

Frequently asked questions

Does Generate Specular Map from PNG cost anything?

Yes, it is completely free. All 2,943 tools on EditSafely work without an account, a subscription or usage limits.

Are my files uploaded to a server?

No data leaves your device. The whole tool is JavaScript that runs inside your browser tab, so there is no upload, no server-side processing and no log of what you did. If you disconnect from the internet after the page loads, it keeps working.

Which files does Generate Specular Map from PNG accept?

It accepts PNG images. There is no file size cap imposed by a server; very large files are limited only by your device's memory.

Do I need to sign up or install anything?

Nothing to install and no account needed. Open the page in any up-to-date browser, including on a phone or tablet, and the tool is ready.

How do I save the output?

Click the Download button once the result is ready. The file is built in your browser's memory and handed straight to your downloads folder, without passing through a server.

Related tools

All PNG Tools →