Planetside Software Forums

General => Terragen Discussion => Topic started by: N-drju on April 24, 2016, 05:10:42 PM

Title: Masking reflective shader?
Post by: N-drju on April 24, 2016, 05:10:42 PM
Hi guys,

Could you guide me on how can I mask only a part of sphere object (or any other one-part object) to be reflective? I tried to use painted shader and SSS but to no avail. No option in the default shader made it work too. After all, it doesn't seem like reflective shader has any mask input socket so...? :-\
Title: Re: Masking reflective shader?
Post by: Oshyan on April 24, 2016, 05:17:15 PM
Use Reflectivity Image in the Default Shader, or have your Reflective Shader as a child of a Surface Layer.

- Oshyan
Title: Re: Masking reflective shader?
Post by: N-drju on April 25, 2016, 06:47:44 AM
Ok, great. I made a simple test with refl. image and that will probably work good for me.

But by the way, what is the actual reason why reflective and default shader have no mask options? Some other shaders don't have this too.
Title: Re: Masking reflective shader?
Post by: N-drju on April 25, 2016, 01:03:29 PM
Okay, so I tried the surface layer solution and got this...

[attach=1]

Obviously this is not what I'm after... The reflectivity effect itself is fine, but the moment I apply any other color or shader, the reflection is lost or becomes waaaay to distorted / misty. Also, I cannot fine-tune the reflectivity image when I try to use one...
Title: Re: Masking reflective shader?
Post by: bobbystahr on April 25, 2016, 01:20:05 PM
Quote from: N-drju on April 25, 2016, 01:03:29 PM
Okay, so I tried the surface layer solution and got this...

[attach=1]

Obviously this is not what I'm after... The reflectivity effect itself is fine, but the moment I apply any other color or shader, the reflection is lost or becomes waaaay to distorted / misty. Also, I cannot fine-tune the reflectivity image when I try to use one...


Try colouring the object with a Surface layer and then add a Child Surface layer which you disable colour and add the Reflection shader as a Child there and use that layer's masking
Title: Re: Masking reflective shader?
Post by: N-drju on April 25, 2016, 02:00:31 PM
Alright! I figured it out. Just needed different plugs...

[attach=1]

That will do. Thanks.
Title: Re: Masking reflective shader?
Post by: bobbystahr on April 25, 2016, 02:18:26 PM
 
Quote from: N-drju on April 25, 2016, 02:00:31 PM
Alright! I figured it out. Just needed different plugs...

[attach=1]

That will do. Thanks.


;D