[][src]Module tray_rust::material::rough_glass

Defines a rough glass material

Scene Usage Example

The rough glass material describes a thin glass surface material, not a solid block of glass (there is no absorption of light). The glass requires a reflective and emissive color along with a refrective index, eta and roughness.

"materials": [
    {
        "name": "foggy_glass",
        "type": "rough_glass",
        "reflect": [1, 1, 1],
        "transmit": [1, 1, 1],
        "eta": 1.52,
        "roughness": 0.5,
    },
    ...
]

Structs

RoughGlass

The RoughGlass material describes specularly transmissive and reflective glass material