Searched refs:s_LightWorldMatrix (Results 1 – 2 of 2) sorted by relevance
| /CTR-SDK-4.2.7-SampleDemos/gx/Api/FragmentLightingSimple/ |
| D | gx_FragmentLightingSimple.cpp | 429 nn::math::MTX34 s_LightWorldMatrix; in UseShader() local 430 nn::math::MTX34Identity(&s_LightWorldMatrix); in UseShader() 432 nn::math::MTX34Translate(&s_LightWorldMatrix, &position); in UseShader() 434 nn::math::MTX34Mult(&lightViewMatrix, s_ViewMatrix, s_LightWorldMatrix); in UseShader() 450 nn::math::MTX34Identity(&s_LightWorldMatrix); in UseShader() 454 nn::math::MTX34Translate(&s_LightWorldMatrix, &position); in UseShader() 455 nn::math::MTX34Mult(&lightViewMatrix, s_ViewMatrix, s_LightWorldMatrix); in UseShader() 471 nn::math::MTX34Identity(&s_LightWorldMatrix); in UseShader() 475 nn::math::MTX34Translate(&s_LightWorldMatrix, &position); in UseShader() 476 nn::math::MTX34Mult(&lightViewMatrix, s_ViewMatrix, s_LightWorldMatrix); in UseShader() [all …]
|
| /CTR-SDK-4.2.7-SampleDemos/gx/Api/RenderToTexture/ |
| D | gx_RenderToTexture.cpp | 388 nn::math::MTX34 s_LightWorldMatrix; in UseShaderTexture() local 389 nn::math::MTX34Identity(&s_LightWorldMatrix); in UseShaderTexture() 391 nn::math::MTX34Translate(&s_LightWorldMatrix, &position); in UseShaderTexture() 393 nn::math::MTX34Mult(&lightViewMatrix, s_ViewMatrix, s_LightWorldMatrix); in UseShaderTexture()
|