How to make a glass window not see through?

I'm working on a city scene at night.
I want to make the windows emitting light but not see through, cos the interiors are empty.
How to control the see through? Or make it almost opague?

Comments

  • LeanaLeana Posts: 11,690

    If using the base Iray shader, the surfaces corrresponding to the window will have a "cutout opacity" setting which controls how opaque they are. Depending on how the surfaces are setup (for example if the glass doesn't have its own surface) there might be a map used in that channel to control what is transparent and what isn't. You would need to change that setting or map.

  • felisfelis Posts: 4,309

    Glass might also be achieved using Refraction Weight, which is phisically more correct, and solved by turning Refraction Weight to 0.

  • prixatprixat Posts: 1,588

    As soon as you make a window emissive it will become opaque. (That's the root of the whole 'Ghost Light' palaver we had.)

    If you still want to 'almost' see inside, you can juggle the values of Cutout opacity and Luminance.

    I got this with 2000 kcdm/m2 luminance and 0.01 Cutout opacity.

    (Ideally, I would put an emissive plane behind the windows to supply the light and control the window opacity with it's glossiness settings.)

    (Attachments are actually working!) yes

    Screenshot 2023-09-15 191511.png
    1211 x 838 - 347K
  • JamesJames Posts: 1,025
    edited September 2023

    Okay, refraction does the job.
    How to make the glass looks black like window film?

    ----
    update:
    I got it, transluency color to black.

    Post edited by James on
  • FishtalesFishtales Posts: 6,119

    James said:

    Okay, refraction does the job.
    How to make the glass looks black like window film?

    ----
    update:
    I got it, transluency color to black.

    Change the base colour on the glass shader to black and use the refraction weight to make it cearer or darker. You can also use Refraction Roughness to make it look frosted if you want.

Sign In or Register to comment.