Announcement

Collapse
No announcement yet.

OSL Reflect Refract Bug

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

  • OSL Reflect Refract Bug

    Hi,

    I've found some irregularities using OSL map and VrayMtl. When connecting the reflect map, refract map, refl gloss and refr gloss at certain combination of values refraction or reflections disappear.
    I've simplified the code to illustrate the problem.
    Click image for larger version

Name:	Screenshot 2022-05-19 142657.jpg
Views:	190
Size:	45.7 KB
ID:	1148536Click image for larger version

Name:	Screenshot 2022-05-19 142835.jpg
Views:	150
Size:	101.4 KB
ID:	1148538
    This should look like normal glass material, but because everything is set to 1 it looks like a grey ball with no reflections.
    Click image for larger version

Name:	Screenshot 2022-05-19 143056.jpg
Views:	167
Size:	118.2 KB
ID:	1148539
    When I put the Reflect gloss to 0.99 instead of 1.0 the reflections return. Still no refractions though
    Click image for larger version

Name:	Screenshot 2022-05-19 143307.jpg
Views:	144
Size:	119.7 KB
ID:	1148540

    can't add more attachments, too be continued
    Attached Files

  • #2
    To get everything too work as expected I need to put 1 of the maps to a higher value (1.01 for this example), just 1, if I put them both on the same impossible high value then it breaks again.
    And I need to clamp the refl gloss to .9999.

    Click image for larger version

Name:	Screenshot 2022-05-19 143501.jpg
Views:	140
Size:	93.3 KB
ID:	1148542Click image for larger version

Name:	Screenshot 2022-05-19 143519.jpg
Views:	147
Size:	46.5 KB
ID:	1148543

    Thanks for listening to my ted talk.

    Comment


    • #3
      Hi,
      Thank you for the feedback. We will look into this and get back to you.

      Best regards,
      Milva
      Milva Perkovich
      QA department
      Chaos Group

      Comment

      Working...
      X