Announcement

Collapse
No announcement yet.

OSL goodness in Vray

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • alperenozgur
    replied
    are there any metalness workflow shaders made with OSL? sorry if it is irrelevant question i just dont know how it works or what exacly itS doing.

    Leave a comment:


  • sharktacos
    replied
    Originally posted by stevejjd View Post
    Thank you those artifacts are gone. Your OSL work is incredible thank you.

    Thanks

    Leave a comment:


  • stevejjd
    replied
    Thank you those artifacts are gone. Your OSL work is incredible thank you.

    Leave a comment:


  • sharktacos
    replied
    Originally posted by stevejjd View Post
    Hi guys,
    I would like to ask for some help regarding the Fabric OSL.
    I am trying to make a very soft fabric but it has a strange mirror reflection.
    I get strange artifacts on my test scene.
    Note that the version of the shader on my page has a lot of improvements over the original version on the Chaos page. Most significantly it fixes an error with the reflections. This may be what you are experiencing.

    Leave a comment:


  • stevejjd
    replied
    Does not seem to work for me. Im using window 10 and 3ds max 2015. Actually I try to increase the bump amount and it make the shader look more like a mirror.

    Leave a comment:


  • stevejjd
    replied
    Hi guys,
    I would like to ask for some help regarding the Fabric OSL.
    I am trying to make a very soft fabric but it has a strange mirror reflection.
    I get strange artifacts on my test scene.

    Click image for larger version

Name:	Artifact.jpg
Views:	1
Size:	133.0 KB
ID:	862326
    Click image for larger version

Name:	Artifact2.jpg
Views:	1
Size:	107.4 KB
ID:	862327
    Click image for larger version

Name:	settings.jpg
Views:	1
Size:	86.2 KB
ID:	862328
    Click image for larger version

Name:	Network.jpg
Views:	1
Size:	40.2 KB
ID:	862329

    Leave a comment:


  • stevejjd
    replied
    Thank you.

    Leave a comment:


  • sharktacos
    replied
    it's a comp question. Additive is equivalent to doing a "plus" in comp, and "normal" is equivalent to a "over."

    Leave a comment:


  • stevejjd
    replied
    Thank you for that hint ~ I wanted to ask why or when would I set Vray blend modes to additive ? What are examples of when you want additive or 'normal' blending mode? Thank you

    Leave a comment:


  • sharktacos
    replied
    Originally posted by stevejjd View Post
    Haha I don't know any codeing, I rely on amazing people like you who truly know what they are doing. People definitely add sss to cloths to add softness and sss gives the two sided material effect. I'll look for a reference for you.

    In that case, just combine the Fabric OSL with an SSS material using the VrayBlendMtl set to additive.

    Leave a comment:


  • stevejjd
    replied
    Haha I don't know any codeing, I rely on amazing people like you who truly know what they are doing. People definitely add sss to cloths to add softness and sss gives the two sided material effect. I'll look for a reference for you.

    Leave a comment:


  • snivlem
    replied
    Thanks sharktacos!

    Leave a comment:


  • sharktacos
    replied
    Originally posted by stevejjd View Post
    Oh sorry, still getting used to this forum - thought I posted a reply directly to the cloth OSL shader. I mean, is it possible to add SSS to the cloth OSL shader as I see many artists blend cloth materials with an SSS.

    Well, the beauty of OSL is you can just take my shader and add your own SSS closure to it.

    The question I'd ask is why they are doing this? I'd imagine it is to get translucency. If that's the reason then a two-sided material might be better suited.

    Leave a comment:


  • sharktacos
    replied
    Originally posted by snivlem View Post
    hey sharktacos,

    where are you applying linear workflow on your fabric.OSL?

    MainColor = pow (MainColor, 2.2);?

    I've since removed this line under V-Ray 3.3 and Maya 2016 because of native color management. Is this the only thing you did to "correct" linear workflow for older versions?
    Yes, that is the only place. Note that the version of the shader on my page has a lot of improvements over the original version on the Chaos page. Most significantly it fixes an error with the reflections. It also has a gamma input field so you can choose whether or not to use the gamma corrections, and it works with both bump and normal maps.

    Leave a comment:


  • stevejjd
    replied
    Oh sorry, still getting used to this forum - thought I posted a reply directly to the cloth OSL shader. I mean, is it possible to add SSS to the cloth OSL shader as I see many artists blend cloth materials with an SSS.

    Leave a comment:

Working...
X