Lines Matching refs:light
617 const FragmentLight* light = this->m_SceneEnvironment.GetFragmentLight(i); in ActivateFragmentLights() local
619 this->ActivateFragmentLight(i, light); in ActivateFragmentLights()
627 RenderContext::ActivateFragmentLight(int index, const FragmentLight* light) in ActivateFragmentLight() argument
629 ResFragmentLight resLight = light->GetResFragmentLight(); in ActivateFragmentLight()
642 nw::math::VEC4 direction(light->Direction()); in ActivateFragmentLight()
674 nw::math::VEC4 position = GetTranslate(light->WorldMatrix()); in ActivateFragmentLight()
708 nw::math::VEC4 direction(light->Direction()); in ActivateFragmentLight()
713 nw::math::VEC4 position = GetTranslate(light->WorldMatrix()); in ActivateFragmentLight()
754 RenderContext::ActivateVertexLight(int index, const VertexLight* light) in ActivateVertexLight() argument
764 ResVertexLight resLight = light->GetResVertexLight(); in ActivateVertexLight()
784 math::VEC4 position(light->Direction()); in ActivateVertexLight()
794 math::VEC4 position = GetTranslate(light->WorldMatrix()); in ActivateVertexLight()
810 math::VEC4 spotDirection(light->Direction()); in ActivateVertexLight()