public void Update() { Matrix4x4 lightSpaceMatrix = shadowController.GetLightVPMatrix(); material.SetMatrix(ShadowConfig.LightSpaceUniform, lightSpaceMatrix); }
public void Update() { Matrix4x4 lightSpaceMatrix = shadowController.GetLightVPMatrix(); material.SetMatrix(ShadowConfig.LightSpaceUniform, lightSpaceMatrix); }