Maintains a cubemap texture target in an OpenGL context. It has 6 inputs -- one for each face of the cube. Cubemaps are typically used to map an environment for material effects such as reflection and refraction.
This object requires one argument: the name of a drawing context. A named drawing context is a named instance of a jit.window, jit.pwindow, or jit.matrix object that has an instance of the jit.gl.render object associated with it. Additionally it can reference the name of a jit.gl.node sub-context. This value may also be set via the OB3D drawto attribute. If no argument is present, the object is implicitly added to the first valid drawing context or sub-context found in the current patch or by searching up the patcher hierarchy.
Enable adapt to input (default = 1). When enabled the texture output dimensions will match the input dimensions.
bordercolor [4 floats]
Sets the texture bordercolor
The length in pixels of a cube edge. Each face of the sube will be edge_length*edge_length in dimension.
Sets an image file to read that is in panorama format
Filter applied to the texture.
matrix_name [6 symbols]
The named matrix to access (default = none)
Texture mipmap style.
wrap [3 symbols]
Texture wrapping mode.
Common Box Attributes
- ** py ** **
- nx pz px nz
- ** ny ** **
|Working with OpenGL||Working with OpenGL|