Announcement

Collapse
No announcement yet.

Thin film OSL shader

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

  • vlado
    replied
    Nice! I'm glad this came in useful

    Best regards,
    Vlado

    Leave a comment:


  • Joelaff
    replied
    We used this thin film map just yesterday to add extra realism to a CU of an old plaster type picture frame. The frame is the really ornate type, painted gold. Took a pretty complex shader flow graph to get it to look the way I wanted it. The thin film was used in screen mode on top of the reflection channel of the base layer (in a composite map). Then we VRayBlended some VRayFlakes on top, which turned out great. Client was blown away by the subtle color variations.

    So, thanks, Vlado!

    Leave a comment:


  • ^Lele^
    replied
    seconds.
    The effect of the shader itself on rendertime is negligible, and so quick i'd call it invariant from test to test.

    Leave a comment:


  • jonnybefree
    replied
    nice tests lele. wonder the differents in rendertimes from start to end?

    Leave a comment:


  • Vizioen
    replied
    Holy sh...everytime I think I've seen everything something new comes up. So the only way to achieve this effect is to use this OSL shader? It would be indeed a great addition to the VrayMTL, and ignore clutter, the more buttons the better .

    Leave a comment:


  • bigbossfr
    replied
    I have this error in Maya : OSL shader error: Could not compile shader C:/Users/damien.SDC/Downloads/thinfilm/irridescence.osl (OSL to OSO)
    ?

    Leave a comment:


  • ^Lele^
    replied
    Click image for larger version

Name:	E.png
Views:	1
Size:	205.4 KB
ID:	855251 Click image for larger version

Name:	F.png
Views:	1
Size:	205.3 KB
ID:	855252

    Leave a comment:


  • ^Lele^
    replied
    Click image for larger version

Name:	05.png
Views:	1
Size:	204.2 KB
ID:	855246 Click image for larger version

Name:	A.png
Views:	1
Size:	204.1 KB
ID:	855247 Click image for larger version

Name:	B.png
Views:	1
Size:	204.4 KB
ID:	855248 Click image for larger version

Name:	C.png
Views:	1
Size:	205.1 KB
ID:	855249 Click image for larger version

Name:	D.png
Views:	1
Size:	204.9 KB
ID:	855250

    Leave a comment:


  • ^Lele^
    replied
    Click image for larger version

Name:	00.png
Views:	1
Size:	199.4 KB
ID:	855241 Click image for larger version

Name:	01.png
Views:	1
Size:	200.0 KB
ID:	855242 Click image for larger version

Name:	02.png
Views:	1
Size:	201.3 KB
ID:	855243 Click image for larger version

Name:	03.png
Views:	1
Size:	201.8 KB
ID:	855244 Click image for larger version

Name:	04.png
Views:	1
Size:	202.9 KB
ID:	855245

    for all the samples: black diffuse, map in the reflection slot, GTR BRDF, 0.55 RGlossiness.
    The dome is black and white, so all the colours are from the map.
    Map parameters (fixed across the samples):
    min thickness: 200
    max thickness: 666
    rest as default.
    Changing, by 0.05 increments is the IoR, from 1.15 to 1.65 in the last example (next post)
    Last edited by ^Lele^; 10-02-2015, 09:53 AM.

    Leave a comment:


  • vlado
    replied
    Originally posted by Macker View Post
    I think the best way to tackle this is the same approach you took with the settings. Have all the basics on show by default, but have an advanced check box that displays additional settings that let "power users" tweak what they need to. I appreciate VRay is used by everyone from absolute amateurs through to VFX pro's and that catering to everybody's needs is very difficult but it seems a bit backwards to withhold updated elements of the software to cater for the few that it might scare.
    Well I'm not withholding it, there's still a way to get what you want obviously Like I said, will think about it. You are right that if we hide some of the existing params in an advanced view, there will be space for new stuff.

    Best regards,
    Vlado

    Leave a comment:


  • Macker
    replied
    Originally posted by vlado View Post
    It could be added to the VRayMtl for sure, but I've been accused that the UI is incredibly cluttered already. Will think about it anyways.

    For the wavelengths yes, they need to be more or less realistic.

    Best regards,
    Vlado
    I think the best way to tackle this is the same approach you took with the settings. Have all the basics on show by default, but have an advanced check box that displays additional settings that let "power users" tweak what they need to. I appreciate VRay is used by everyone from absolute amateurs through to VFX pro's and that catering to everybody's needs is very difficult but it seems a bit backwards to withhold updated elements of the software to cater for the few that it might scare.

    Leave a comment:


  • Art48
    replied
    Cluttered UI in the VRayMaterial? Oh, come on, I mean maybe there is much stuff to do but this is professional software. People shouldn't be afraid when they see some buttons... Jeez...

    I'd rather see a cluttered UI than holding back useful features. You shoul dpropably tidy up the UI in 3.2 or even 4.0 with a total overhaul, if required. But until then I see no point in holding back stuff because of cluttering...

    Leave a comment:


  • vlado
    replied
    It could be added to the VRayMtl for sure, but I've been accused that the UI is incredibly cluttered already. Will think about it anyways.

    For the wavelengths yes, they need to be more or less realistic.

    Best regards,
    Vlado

    Leave a comment:


  • Macker
    replied
    Could this be incorporated into the standard VRay Material (maybe under an "advanced" tab)? It's a superb addition.

    Also, I assume that to keep realistic you would use realistic wavelengths - 380 to 750 nm?
    Last edited by Macker; 10-02-2015, 05:32 AM.

    Leave a comment:


  • 3LP
    replied
    Niiiiiicee!

    Stan

    Leave a comment:

Working...
X