Shader & Graphics Calculator
Instantly convert gamma, calculate light attenuation, swap normal map channels, convert roughness ↔ gloss, and generate shader code—all in one online tool for artists, technical artists, and game devs.
Accurate, mobile-friendly, SEO-optimized for real-time workflows in Unity, Unreal, Godot, Blender & more.
Gamma Correction (Linear ↔ sRGB)
PBR Roughness ↔ Gloss Converter
Normal Map Channel Swapper
FAQ: Shader, Normal Map, and PBR Converters
- How do I convert between PBR Roughness and Glossiness?
- Use the converter above: Roughness and Glossiness are mathematical inverses, so
gloss = 1 - roughnessandroughness = 1 - glossiness. - How do I swap or invert channels in a normal map?
- Upload your normal map, check the swaps/inverts you need (for engine compatibility), and download the result as PNG. Use this for Unity, Unreal, Godot, Blender, etc.
- What is gamma correction? What is sRGB?
- Gamma correction changes color values between Linear and sRGB color spaces. Use sRGB for textures; linear for lighting and calculations. This tool uses the correct mathematical conversion.
- Does this tool work on mobile?
- Yes—all converters and previews are mobile optimized, touch-friendly, and require no login or install.
- Are these calculations industry-standard?
- Yes. The math is based on widely accepted equations for PBR, gamma correction, and normal map conversion. References include Unity, Unreal, and Blender documentation.
