Best (and easy) way for car impact? decals, mat... etc

Inside the decal material you use a scene texture sampler node set to the custom stencil buffer, then you can pass this texture into a bitmask node to detect if the value of a pixel equals your stencil’s chosen bit or not. This bitmask can be used as an opacity mask for the decal.

1 Like