add directional light component and skylight component, add PCSS and hard shadow

This commit is contained in:
2026-01-02 22:46:29 +08:00
parent abf0a65bd6
commit 9e1474e643
55 changed files with 3032 additions and 1121 deletions

View File

@ -121,7 +121,7 @@ namespace FPSExample
private void UpdateCameraTransform(){
Vec3 position = m_Transform.Position;
position.Y += 1.5f;
position.Y += m_Transform.Position.Y + 1.5f;
m_CameraTransform.Position = position;
}
}