| |
globalAmbientR
|
u8 |
Red component setting for global ambient. Type is u8. Values in the range [0.f, 1.f] are mapped to [0, 255] and then set. |
| |
globalAmbientG
|
u8 |
Green component setting for global ambient. Type is u8. Values in the range [0.f, 1.f] are mapped to [0, 255] and then set. |
| |
globalAmbientB
|
u8 |
Blue component setting for global ambient. Type is u8. Values in the range [0.f, 1.f] are mapped to [0, 255] and then set. |
| |
source
|
Source |
Stores light source settings. Type is nn::gr::CTR::FragmentLight::Source[]. |
| |
isEnable
|
bool |
Sets enable/disable for light sources. Type is bool[]. Upper limit value of the array is LIGHT_SOURCE_MAX. |
| |
isEnableSpot
|
bool |
Sets whether spotlights are enabled. Type is bool[]. Upper limit value of the array is LIGHT_SOURCE_MAX. |
| |
isEnableDistAttn
|
bool |
Sets whether distance attenuation is enabled. Type is bool[]. Upper limit value of the array is LIGHT_SOURCE_MAX. |
| |
isShadowed
|
bool |
Sets shadow adjustment elements. Type is bool[]. Upper limit value of the array is LIGHT_SOURCE_MAX. |
| |
layerConfig
|
PicaDataFragLightEnvLayerConfig |
Sets layer config. Type is PicaDataFragLightEnvLayerConfig. |
| |
fresnelSelector
|
PicaDataFragLightEnvFresnel |
Sets where fresnel is applied. Type is PicaDataFragLightEnvFresnel. |
| |
shadowSelector
|
PicaDataFragLightEnvTexture |
Sets textures whose shadow adjustment element is to be sampled. Type is PicaDataFragLightTexture. |
| |
bumpMode
|
PicaDataFragLightEnvBump |
Sets bump mapping. Type is PicaDataFragLightEnvBump. |
| |
bumpSelector
|
PicaDataFragLightEnvTexture |
Sets textures to be used as normal maps and tangent maps. Type is PicaDataFragLightTexture. |
| |
isEnableShadowPrimary
|
bool |
Sets whether shadow attenuation is to be applied to the primary color. Type is bool. |
| |
isEnableShadowSecondary
|
bool |
Sets whether shadow attenuation is to be applied to the secondary color. Type is bool. |
| |
isEnableShadowAlpha
|
bool |
Sets whether shadow attenuation is to be applied to the alpha component. Type is bool. |
| |
isInvertShadow
|
bool |
Sets whether shadow attenuation is to be inverted. Type is bool. |
| |
isEnableBumpRenorm
|
bool |
Sets whether the z-component of the normal map is to be regenerated. Type is bool. |
| |
isEnableClampHighLights
|
bool |
Sets whether the specular color is to be clamped to 0 when L.n is less than 0. Type is bool. |
| |
isEnableLutD0
|
bool |
If true, the lookup table value or 1 is set for Distribution 0. Type is bool. The initial value is false. |
| |
isEnableLutD1
|
bool |
If true, the lookup table value or 1 is set for Distribution 1. Type is bool. The initial value is false. |
| |
isEnableLutRefl
|
bool |
If true, the lookup table value or 1 is set for Reflection. Type is bool. The initial value is true. |
| |
lutConfigD0
|
LutConfig |
Sets lookup table Distribution 0. Type is nn::gr:CTR::FragmentLight::LutConfig. |
| |
lutConfigD1
|
LutConfig |
Sets lookup table Distribution 1. Type is nn::gr:CTR::FragmentLight::LutConfig. |
| |
lutConfigSP
|
LutConfig |
Sets lookup table Specular. Type is nn::gr:CTR::FragmentLight::LutConfig. |
| |
lutConfigFR
|
LutConfig |
Sets lookup table FragmentLight. Type is nn::gr:CTR::FragmentLight::LutConfig. |
| |
lutConfigRB
|
LutConfig |
Sets lookup table RB. Type is nn::gr:CTR::FragmentLight::LutConfig. |
| |
lutConfigRG
|
LutConfig |
Sets lookup table RG. Type is nn::gr:CTR::FragmentLight::LutConfig. |
| |
lutConfigRR
|
LutConfig |
Sets lookup table RR. Type is nn::gr:CTR::FragmentLight::LutConfig. |