WriteToDepthTexture#
Whether to write the water surface depth to the depth texture (URP only).
The water surface writes to the depth buffer, but Unity does not copy it to the depth texture for post-processing effects like Depth of Field. This will copy the depth buffer to the depth texture.
Declaration#
public bool WriteToDepthTexture { get; set; }