Defines |
|
#define | rwPDS_G3x_ADL_CodeArraySize |
#define | rwPDS_G3x_ADL_MatPipeRegister() |
Functions |
|
RwBool | RpPDS_G3x_ADL_LightingUpload (RpLight *ambient, RpLight *directional) |
Variables |
|
void * | rwPDS_G3x_ADL_VU1Transforms [rwPDS_G3x_ADL_CodeArraySize] |
RpPDSSkyVU1CodeTemplate | rwPDS_G3x_ADL_VU1Code |
RwUInt64 | G3x_ADLGenericPER |
RpPDSSkyMatTemplate | rwPDS_G3x_ADL_MatPipe |
Projection: Perspective correct projection Primitive: Triangle strips Triangle list Lighting: Custom light buffer Fixed lighting 1 Ambient light 1 Directional light Clipping: Fast path rendering Triangle fast culling Fog: All primitives support linear fog
This pipeline supports persistent lighting and uses a custom lighting buffer. The lighting upload function RpPDS_G3x_ADL_LightingUpload should be used to initialize the lighting buffer prior to pipeline execution.
|
VU1 Code array size
|
|
Material pipe register
|
|
This function setups the custom lighting buffers used by the custom lighting pipelines. The ambient and directional lights are uploaded into vector memory for use by the custom lighting pipeline. The lighting information will persist whilst the same combination lighting pipelines are used. However, if another set of lighting pipelines are used, either another custom lighting pipeline or a generic lighting pipeline, then the lighting buffer must be reinitialized with this function. If the lighting setup is changing for each pipeline execution then the lighting upload function could be put into a render callback.
|
|
VU1 code array node elements
|
|
Material pipeline template defines
|
|
VU1 code template
|
|
VU1 code array
|
Converted from CHM to HTML with chm2web Pro 2.85 (unicode) |