Lines Matching refs:light
608 const FragmentLight* light = this->m_SceneEnvironment.GetFragmentLight(i); in ActivateFragmentLights() local
610 this->ActivateFragmentLight(i, light); in ActivateFragmentLights()
618 RenderContext::ActivateFragmentLight(int index, const FragmentLight* light) in ActivateFragmentLight() argument
620 ResFragmentLight resLight = light->GetResFragmentLight(); in ActivateFragmentLight()
633 nw::math::VEC4 direction(light->Direction()); in ActivateFragmentLight()
665 nw::math::VEC4 position = GetTranslate(light->WorldMatrix()); in ActivateFragmentLight()
702 nw::math::VEC4 direction(light->Direction()); in ActivateFragmentLight()
707 nw::math::VEC4 position = GetTranslate(light->WorldMatrix()); in ActivateFragmentLight()
748 RenderContext::ActivateVertexLight(int index, const VertexLight* light) in ActivateVertexLight() argument
756 ResVertexLight resLight = light->GetResVertexLight(); in ActivateVertexLight()
776 math::VEC4 position(light->Direction()); in ActivateVertexLight()
786 math::VEC4 position = GetTranslate(light->WorldMatrix()); in ActivateVertexLight()
802 math::VEC4 spotDirection(light->Direction()); in ActivateVertexLight()