examples: Remove unneeded calls to NE_ShadowEnable()

This function wasn't required for regular shading, but for toon shading.
This commit is contained in:
Antonio Niño Díaz 2024-03-07 01:49:07 +00:00
parent 636a7d73c3
commit bf63ddea8a
8 changed files with 0 additions and 24 deletions

View File

@ -56,9 +56,6 @@ int main(void)
// Set light color and direction
NE_LightSet(0, NE_White, -0.5, -0.5, -0.5);
// Enable shading
NE_ShadingEnable(true);
// Other test configurations
//NE_SpecialEffectNoiseConfig(31);
//NE_SpecialEffectSineConfig(3, 8);

View File

@ -59,9 +59,6 @@ int main(void)
// Set light color and direction
NE_LightSet(0, NE_White, -0.5, -0.5, -0.5);
// Enable shading
NE_ShadingEnable(true);
// Other test configurations
//NE_SpecialEffectNoiseConfig(31);
//NE_SpecialEffectSineConfig(3, 8);

View File

@ -73,9 +73,6 @@ int main(void)
// Set up light
NE_LightSet(0, NE_Yellow, 0, -0.5, -0.5);
// Enable shading
NE_ShadingEnable(true);
// Set start coordinates/rotation of the models
for (int i = 0; i < NUM_MODELS; i++)
{

View File

@ -57,9 +57,6 @@ int main(void)
// Setup light
NE_LightSet(0, NE_Yellow, 0, -0.5, -0.5);
// Enable shading
NE_ShadingEnable(true);
// Set start coordinates/rotation of models
for (int i = 0; i < NUM_MODELS; i++)
{

View File

@ -62,9 +62,6 @@ int main(void)
// Set light color and direction
NE_LightSet(0, NE_White, -0.5, -0.5, -0.5);
// Enable shading
NE_ShadingEnable(true);
while (1)
{
NE_WaitForVBL(0);

View File

@ -66,9 +66,6 @@ void init_all(void)
// Set light color and direction
NE_LightSet(0, NE_White, -0.5, -0.5, -0.5);
// Enable shading
NE_ShadingEnable(true);
}
int main(void)

View File

@ -52,9 +52,6 @@ void init_all(void)
// Set light color and direction
NE_LightSet(0, NE_White, -0.5, -0.5, -0.5);
// Enable shading
NE_ShadingEnable(true);
}
int main(void)

View File

@ -85,9 +85,6 @@ int main(void)
NE_LightSet(0, NE_Yellow, 0, -0.5, -0.5);
NE_LightSet(1, NE_Red, 0, -0.5, -0.5);
// Enable shading
NE_ShadingEnable(true);
// Wait a bit
swiWaitForVBlank();
swiWaitForVBlank();