Does OpenGL vs DirectX green channel polarity change the slope angle?
No. Inclination angle depends only on the Z component (Blue channel), which is identical in both OpenGL and DirectX normal maps.
Tangent Inclination Masker
Turn any tangent-space normal map into a smoothstepped grayscale slope mask based on exact surface tilt angle—ideal for blending moss, settled dust, snow caps, or steep rock layers in 3D shaders.
Slope mask [12°–42°] · Avg Surface Angle 11.9° · Masked Coverage 24.5%
| Surface Layer | Min Angle | Max Angle | Invert Mask? |
|---|---|---|---|
| Settled Snow / Thick Dust | 10° | 32° | Yes (White on flat tops) |
| Damp Moss / Lichen | 15° | 45° | Yes (White on gentle slopes) |
| Exposed Steep Cliff Rock | 30° | 60° | No (White on steep slopes) |
In a unit-length tangent-space normal map, the Blue channel stores cos(theta)—the cosine of the surface tilt relative to the base polygon normal. Applying arccos(Nz) yields exact inclination angles from 0 degrees (flat) to 90 degrees (vertical cliff).
Adjusting Min and Max Slope Angles creates a Hermite smoothstep ramp that avoids harsh pixelated borders when layering snow or moss textures across terrain and architectural stone.
No. Inclination angle depends only on the Z component (Blue channel), which is identical in both OpenGL and DirectX normal maps.
Check Invert Output Values so low-angle flat areas render pure white (255) and steep slopes fade to black (0).
Flat normals sit at 0 degrees; either lower Min Slope Angle near 0° or use a normal map with stronger surface relief.
Yes—lossless grayscale PNG export preserves native resolution locally in your browser.
Optional Google Analytics
Accept loads Google Analytics 4 for traffic and conversion measurement. Reject keeps it off. Necessary first-party product events and the cookie-free pageview counter remain active. This choice never enables advertising.