Partial CameraController class file that sets shader/post-process attributes for underwater effects. It writes two attributes, "Under Water Blur" and "Under Water Color", using values from WaterController static properties.
namespace AtmokineticAssets;
public sealed partial class CameraController : BasePostProcess<CameraController>
{
public void UnderWaterShaderAttributes()
{
Attributes.Set("Under Water Blur", WaterController.UnderWaterBlur);
Attributes.Set("Under Water Color", WaterController.UnderWaterColor);
}
}