- Status
- Offline
- Joined
- Mar 25, 2020
- Messages
- 273
- Reaction score
- 60
Some guys found a way to move a shadows.
It was implemented in one old Aimware LUA and now in Pandora V2.
	
	
	
		
		
		
			
		
		
	
	
		 
	
	
	
		
			
	
	
	
		
		
	
Credits: iDesync
It was implemented in one old Aimware LUA and now in Pandora V2.
 
	
		C++:
	
	g_Engine::g_EntityList->ForEachEntity([&](g_Engine::Entity_t *entity)
{
    if (entity->Networkable()->CClient()->m_ClassID != g_Engine::m_ClassID::CascadeLight)
        return;
        // m_CascadeLight.m_EnvLightShadowDir = netvars[ HASH("CCascadeLight->m_envLightShadowDirection") ].m_Offset;
    auto &direction = *SDK::Address_t(entity).SelfOffset( g_CTX->Offsets().m_CascadeLight.m_EnvLightShadowDir ).as<SDK::Vec3_t*>();
        /* set your custom sun pos here */
    const auto custom_dir = SDK::Angle_t(0.f, g_Engine::g_GlobalVars->m_RealTime, 0.f).Vectors();
    direction = SDK::Vec3_t( custom_dir.x(), custom_dir.y(), dir.z() );
}
); 
					
				 
				 
 
		 
	