Isotropix Forums

Apply texture depending on color

General Discussion about Isotropix and CG related topics

Apply texture depending on color

Unread postby julesgg1 » Sun Nov 17, 2019 2:09 pm

Hello,

Here is my problem, iv'e done a ramp on the Y axis using the P world, then i just tweaked my ramp and assigned rgb + black and white.
But, i cant figure out how to apply a material depending on the color, ive try material layer, or blend, but i dont get it...

Do you have some ideas ?

Thanks ! Jules.

Image
julesgg1
 
Posts: 2
Joined: Mon Nov 04, 2019 7:34 pm

Re: Apply texture depending on color

Unread postby dboude » Mon Nov 18, 2019 9:33 am

Hi,

All blending nodes work with black and white masks. So if you want to assign material in the red area, for example, you need first to copy the red channel into RGB ones with a reorder node to create a black and white texture. Here is an example :

Blend_Material_PWorld.project
(49.42 KiB) Downloaded 13 times


Cheers ;)
Démian
Isotropix
Technical Artist - Clarisse Specialist
User avatar
dboude
 
Posts: 1251
Joined: Mon Jul 03, 2017 10:51 am

Re: Apply texture depending on color

Unread postby julesgg1 » Mon Nov 18, 2019 9:51 am

Hello Démian,

Thank you, that exactly what I needed !

Cheers, Jules.
julesgg1
 
Posts: 2
Joined: Mon Nov 04, 2019 7:34 pm


Return to General Discussion
cron