Export Glass material

posted to: Rendering Glass

To export glass material for the use in obj file, tried bake the glass material with bake type as transmission into using cycles engine but it doesn't seem to work when plug into the principle bsdf node. So, what could have gone wrong and whats the usual method in doing this?

1 love
Reply
  • Adrian Bellworthy replied

    Hey WWIIdthi

    The baked transmission texture image needs to be plugged into the Weight slot of the transmission of the Pricipled BSDF.
    Set the roughness on the Principled BSDF to 0.000

    If this doesn't help, can you elaborate with more info...

    Can you provide an image of the node setup?
    Are you using Cycles or Eevee for the final image?

    2 loves
  • Omar Domenech replied

    I've never tired to bake glass before, sounds like it would look bad since glass is very dependent on all the environment goodies? But yeah, more context with a couple of screenshots and describe what you're doing exactly so we can see what's going on.

    2 loves
  • WIIdthi Choo(WIIdthi) replied


    q.jpg

    I was using the cycles for the final image. Any views on this?

  • Adrian Bellworthy replied

    It's because the color value is plugged into the Transmission weight. This needs to be at 1 and the Alpha at 0.3
    Transparent is not the same as Transmission

    The Transparent BSDF is the same as Alpha set to 0 on the Principled BSDF (Roughness at 0)
    and the Glass BSDF is the same as Alpha and Transmission set to 1 on the Principled BSDF (Roughness at 0)

    A mix of 0.7 between Glass BSDF and Transparent BSDF is equal to Alpha at 0.3

    To be honest, I'm not sure why you are not just using the Principled BSDF alone.
    Set the Roughness to 0, the Alpha to 0.3 and the Transmission Weight to 1. for the same result.