Download

Override/Ignore Clear Coat

NoClearCoatBottomNormal.jpg

I have a cube using clear coat material and a metallic decal (dbuffer decal) projected onto it, however the clear coat normals are affecting the decal. Is there any way to disable clear coat if a decal is projected?
Cube material is the red material that uses clear coat normals, the yellow decal is also have the same flakes (1st pic). When disabling the clear coat normals the decal behaves are desired (2nd pic).
I tried looking into BasePassPixelShader.usf, seems like dbuffer decals are applied before clear coat, any thoughts on how to resolve my issue or any other place where I should be looking?

Thank you.

Hi, I’m facing the same issue but with roughness, any luck finding out how to apply the coat first and decal after?

thanks