Local Crevice Occlusion

Heightmap to Ambient Occlusion (AO) Map Approximator

Turn any grayscale height or displacement map into a clean Ambient Occlusion shadow map locally—darkening recessed mortar lines, pits, and grooves while keeping raised surfaces pure white.

100% Local Browser Engine · 0 Bytes Uploaded
Instant Deterministic Output

Computed local crevice Ambient Occlusion (strength 1.80x)

Input Preview
Processed Output
Open Full 4-Map PBR Studio

Healthy PBR Ambient Occlusion histogram targets

Surface AreaTarget AO Gray ValueShader Effect
Raised open surfaces245 – 255 (Near White)Zero unwanted darkening in daylight
Shallow surface grooves170 – 225Subtle contact shadow definition
Deep cracks / brick mortar70 – 140Natural indirect ambient occlusion

Deriving ambient occlusion from local height depressions

By comparing each pixel's elevation against its smoothed regional neighborhood, concave recesses below surrounding ridges receive proportional shadow attenuation while convex peaks stay bright white.

Packing your new AO map straight into ORM or Unity Mask Maps

Export your AO PNG here and drop it straight into Red (Unreal/glTF ORM) or Green (Unity HDRP Mask Map) for a complete production PBR shader.

Frequently asked questions

Why should raised flat areas stay pure white (255) in an AO map?

Because engines multiply indirect light by AO—any gray tint on open flat surfaces artificially dulls your material.

Can I adjust how dark the crevices get?

Yes. Slide Strength from 0.2x for subtle micro-occlusion up to 2.5x for deep masonry mortar.

Should AO maps be imported as Linear or sRGB?

Linear / Non-Color in Blender, Unreal, Unity, and Three.js.

Does this upload my heightmap?

Never—100% browser-local execution.

More free local PBR & normal map tools