nn::gr::CTR::Shadow Classclass Shadow
Class for configuring shadow settings. This class is scheduled to be removed from the library. Use the nn::gr::CTR::RenderState::ShadowMap class instead.
| isPerspective | Enables or disables perspective projection for generating texture coordinates for shadow texture lookups. Type is bool. The default is true. Corresponds to the dmp_Texture[0].isPerspective uniform. (to be removed) |
|
|---|---|---|
| zBias | The bias value to be subtracted from the distance to the light source. Type is f32. Specify a value greater than 0.0. There is no default value, but this is initialized to 0.0f. Corresponds to the dmp_Texture[0].shadowZBias uniform. (to be removed) |
|
zScale
|
Scale of the evaluation value for the depth value derivative in the light source coordinate screen space. Type is f32. The default is 1.0f. Corresponds to the dmp_Texture[0].shadowZScale uniform. (to be removed) |
|
| penumbraScale | Scale applied when calculating hard shadows from penumbrae. Type is f32. The default is 0.0f. Corresponds to the dmp_FragOperation.penumbraScale uniform. (to be removed) |
|
| penumbraBias | Bias applied when calculating hard shadows from penumbrae. Type is f32. The default is 1.0.0f. Corresponds to the dmp_FragOperation.penumbraBias uniform. (to be removed) |
Shadow
|
Sets the initial value for each setting. (to be removed) | |
|---|---|---|
MakeCommand
|
Generates a command for configuring shadow settings based on information already set. (to be removed) | |
MakeTextureCommand
|
Generates a command for configuring the shadow texture based on information already set. (to be removed) | |
MakeAttenuationCommand
|
Generates a command for setting shadow attenuation based on information already set. (to be removed) |
CONFIDENTIAL