Highlighting objects

Hi again
I have to say Unity is a very nice tool :smile: I love it.

Here’s my new challenge.
I have to show which part of the anatomy is selected on the scene

I tried setting the color of the shader to somenthing bright like yellow.
it works fine for light colors.

I run into trouble when the shader has a texture attach to it with dark or bright colors.

in this image when I highlight the muscles with the yellow color is just invisible.

I also tried to add a material to the end of the array of “renderer.materials”
hoping that unity would render the whole object with this material, however when a model has more than one material it only render the area rendered by the previous material.

Any suggestions?

Thanks

What shader are you using, Diffuse? Maybe try a “self-illuminated” shader.

“self-illuminated” gave me similar results.
“VertexLit” shader is what I needed :smile:

thanks!

Nice work!
AC

thanks, is work in progress, when ready I’ll post to the Showcase forum.

I’m trying to use particle effects for black smoke. What shader would I want to use for that (one that would make lighter colors invisible and darker ones more visible).