Mari - Physically Based Shader for Real-Time Games

Mari - Physically Based Shader for Real-Time Games

Jeff Kleinzweig

A custom shader in Mari that replicates our in-game physically based shader nearly identically. Paint diffuse, normal, specular, and roughness to describe any type of material simultaneously by using shared mask layers. Everything gets baked down to one material draw call.


Adjusting the brightness of the paint's roughness map on the fire hydrant will transition through mips in the specular cubemap, effectively "blurring" the reflection. This can be seen more clearly on the example using the chrome sphere. Using the mask of rust as an input to the bump channel, painting rust will also affect the final normal map.

Get started for free

    PricingContact salesWatch demos

24/7 customer support

Our customer support team is available to help 24/7. Enterprise members also receive dedicated account managers and a guaranteed uptime SLA.

© 2026 Vimeo.com, Inc. All rights reserved.

Terms
Privacy
Your Privacy Choices
U.S State Privacy
Copyright
Cookies