<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Wouldn't be too hard I guess, the only problem is that roughness
      is a per-closure property so you'd need to figure out how to
      combine them to a per-shader value.</p>
    <p>I guess averaging of the roughnesses of all microfacet closures
      (and weighting by their relative sample weight) should work
      decently, though.</p>
    <p>Apart from that, it's pretty much just copy-pasting and renaming
      some other baking option.</p>
    <br>
    <div class="moz-cite-prefix">On 01/17/2018 08:20 PM, Matthew
      Heimlich wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAPBuH4Z6rnKX5R_A1LgSQfGmpRcdi4jEKSe3NsvrWmAk7neyAA@mail.gmail.com">
      <div dir="ltr">I'm trying to test the waters here to get some
        input on how much effort it would take to implement roughness
        baking for Cycles. Currently it is the only major feature
        missing for using Cycles to directly author and bake down
        procedural PBR textures. What kind of effort would it take to
        get this feature implemented?<br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Bf-cycles mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a>
<a class="moz-txt-link-freetext" href="https://lists.blender.org/mailman/listinfo/bf-cycles">https://lists.blender.org/mailman/listinfo/bf-cycles</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>