class Background::CubeMap


Use cube maps as a backgound. See Wikipedia for an explanation of how this works.

Defined in:



Instance Method Summary

Instance methods inherited from class Background

get(ray : Ray) : Color get

Constructor Detail

def #

name should point to a folder containing six images posx.png, negx.png, posy.png, negy.png, posz.png, negz.png for the right, left, top, bottom, front and back of the cube

[View source]

Instance Method Detail

def get(ray) #

[View source]