Panda3D Manual: Auxiliary Bitplane ControlAuxiliary Bitplane ControlThe framebuffer always contains a color bitplane and a depth bitplane. It may also have a stencil bitplane or accumulation bitplane. In addition, if it is a render-to-texture framebuffer, it may have auxiliary bitplanes. These auxiliary bitplanes can be used to store more or less arbitrary user-defined data. When per-pixel lighting is enabled via the shader generator, the shader generator can be asked to produce extra data into the auxiliary bitplanes. This is done by setting an AuxBitplaneAttrib: np.setAttrib(AuxBitplaneAttrib.make(bits)) Where Although the framebuffer's alpha channel is not technically an auxiliary bitplane. However, since it is not generally used to store any data of value, it can also be thought of as an auxiliary bitplane: a place to store user-defined data. When the shader generator is not enabled, this attrib has no effect. Values That Can be RequestedThe following is a list of bits that can be passed to AuxBitplaneAttrib.make:
© Carnegie Mellon University 2010 |