PDA

View Full Version : a decal on a non-100% diffuse surface?



heynewt
06-27-2006, 08:29 AM
Hi, I've got to put a decal on a metal surface that's not 100% diffuse. Of course, when it's rendered the decal (a PSD file with transparency) is dull, because its brightness is being controlled by the diffuse channel setting of the underlying metal. This is probably something so obvious it's ridiculous, but I can't figure it out.

Haven't had my coffee this morning, so if I'm just totally missing the obvious here I apologize.

Robert N.

Captain Obvious
06-27-2006, 08:37 AM
For good-looking decals on shiny surfaces, like metal, do the following:

Create a black & white alpha for the decal, and use this to control the diffuse amount of the surface. It should be a bit higher on the decal than on the rest.

Do the same thing with reflectivity: the decal should be less shiny. Add a fresnel effect as well.

Turn up the color filtering!

jameswillmott
06-27-2006, 08:37 AM
You'll need a diffuse texture map the same shape and size as the decal to control it's diffuse level.

heynewt
06-27-2006, 08:49 AM
Aaaahh, that's why they call you Captain Obvious!

Thanks guys for the tips. That is very simple, and will totally solve my problem.

And thanks for the advice about the fresnel effect on the logo, that's a great tip. Will really add to the realism.

Robert N.