class Material::Glass

Defined in:

material.cr

Constructors

Instance Method Summary

Instance methods inherited from class Material

bsdf(hit : HitRecord) : BSDF bsdf

Constructor Detail

def self.new(ior : Float64, texture_reflected : Texture, texture_transmitted : Texture) #

[View source]
def self.new(ior : Float64, color_reflected = Color::WHITE, color_transmitted = Color::WHITE) #

[View source]

Instance Method Detail

def bsdf(hit) #

[View source]