add directional light component and skylight component, add PCSS and hard shadow
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user