Lines Matching refs:direction
587 math::VEC3 direction(resLight.GetDirection()); in ActivateHemiSphereLight() local
592 …&direction, &m_SceneEnvironment.GetHemiSphereLight()->TrackbackWorldMatrix(), &resLight.GetDirecti… in ActivateHemiSphereLight()
600 math::VEC3TransformNormal(&direction, &viewMatrix, &direction); in ActivateHemiSphereLight()
601 … math::VEC4 directionAndLerp(direction.x, direction.y, direction.z, resLight.GetLerpFactor()); in ActivateHemiSphereLight()
642 nw::math::VEC4 direction(light->Direction()); in ActivateFragmentLight() local
643 direction.w = 0.0f; in ActivateFragmentLight()
645 this->TransformToViewCoordinate(&direction, &viewMatrix, &direction); in ActivateFragmentLight()
648 GraphicsDevice::ActivateFragmentLightPosition(index, -direction); in ActivateFragmentLight()
649 GraphicsDevice::SetFragmentLightPositionW(index, (direction.w == 0.0f)); in ActivateFragmentLight()
708 nw::math::VEC4 direction(light->Direction()); in ActivateFragmentLight() local
709 direction.w = 0.0f; in ActivateFragmentLight()
711 this->TransformToViewCoordinate(&direction, &viewMatrix, &direction); in ActivateFragmentLight()
717 math::VEC3 spotDirection(direction); in ActivateFragmentLight()