PDA

View Full Version : MAP question (1): Control areas of reflection?


jussing
04-14-2003, 09:14 AM
Hi all!

I have a lo-poly plane, where I've mapped a window onto... some bump, transparency, specular, etc...

Now I want that window to REFLECT a map, and for that I'll use a reflection map, obviously...

PROBLEM: The minute I assign a reflection map, the WHOLE plane gets that reflection... I want to limit the reflective area to where I have already mapped the window.

How should I go about this?

Thanks!! :wavey:

Cheers,
- Jonas

Marcel
04-14-2003, 10:14 AM
A map in the reflection slot will be put on the material in an additive way, meaning that the colors are added to eachother.
A gray color, plus another gray color could become white. In the same fashion, any color plus black will be exactly the same (black equals zero). Using a map to control where you want the reflection to be is then very simple:

- Put a Mix map in the reflection slot.
- Assign the bitmap you want to use as a reflection to the first slot.
- Use a black color for the second slot.
- Put a grayscale image in the mix slot.

Now the grayscale image in the mix slot will control where the color black is added to the materials reflection (=no reflection) and where the bitmap is used.

You have to use different mapping channels to get the right effect, with the grayscale image using a planar map.

jussing
04-14-2003, 10:54 AM
Thanks, man, I'll be trying that out tonight!! :thumbsup:

Cheers,
- Jonas


You know, your .sig reminds me om Hot Shots: dude looks at radar screen:
"You've got four bogies heading toward you!"
Then he sneezes!
"Oh my God, a dozen more of them! And a blimp, a big, shiny blimp and it's slowly moving south!!"

He-he-he... :D

Marcel
04-14-2003, 11:09 AM
No thanks, glad to help!

You know, your .sig reminds me om Hot Shots: dude looks at radar screen:

Hehe, I don't remember that scene. I use the signature as a warning to other people, based on a reallife event that took a lot of monitor cleaning afterwards :surprised

CGTalk Moderation
01-14-2006, 09:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.