Home
last modified time | relevance | path

Searched refs:s_LightWorldMatrix (Results 1 – 2 of 2) sorted by relevance

/CTR-SDK-4.2.7-SampleDemos/gx/Api/FragmentLightingSimple/
Dgx_FragmentLightingSimple.cpp429 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/
Dgx_RenderToTexture.cpp388 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()