Can detailMap be colorful?

Hello,I have a buliding,and I want to reduce the stains from bottom to top by applying detailmap .
The stain is colorful ,not white and black ,Can detailMap implement this function?
Looking forward to your reply!

Detail map docs: More Materials | Babylon.js Documentation (

So, it looks like you can only have grayscale detail. I’m not sure exactly what you mean by “reducing” a stain, but if you want to apply colorful details to a building you could look into some other technique, like texture decals: Decals | Babylon.js Documentation (

1 Like

I wanted to add detailMap directly based on the UV of the original building.I didn’t expect that the detailMap only support black and white.
Thank you for your reply. And then I’ll try decals.