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