Lines Matching refs:light
610 const FragmentLight* light = this->m_SceneEnvironment.GetFragmentLight(i); in ActivateFragmentLights() local
612 this->ActivateFragmentLight(i, light); in ActivateFragmentLights()
620 RenderContext::ActivateFragmentLight(int index, const FragmentLight* light) in ActivateFragmentLight() argument
622 ResFragmentLight resLight = light->GetResFragmentLight(); in ActivateFragmentLight()
635 nw::math::VEC4 direction(light->Direction()); in ActivateFragmentLight()
667 nw::math::VEC4 position = GetTranslate(light->WorldMatrix()); in ActivateFragmentLight()
704 nw::math::VEC4 direction(light->Direction()); in ActivateFragmentLight()
709 nw::math::VEC4 position = GetTranslate(light->WorldMatrix()); in ActivateFragmentLight()
750 RenderContext::ActivateVertexLight(int index, const VertexLight* light) in ActivateVertexLight() argument
758 ResVertexLight resLight = light->GetResVertexLight(); in ActivateVertexLight()
778 math::VEC4 position(light->Direction()); in ActivateVertexLight()
788 math::VEC4 position = GetTranslate(light->WorldMatrix()); in ActivateVertexLight()
804 math::VEC4 spotDirection(light->Direction()); in ActivateVertexLight()