docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Foam

    Simulate and customize foam effects for water surfaces in your project.

    Foam effects enhance the realism of water by simulating phenomena like wind-driven foam or trailing foam behind objects. Learn how to create and control foam on water surfaces, including scripting options and reference settings.

    Topic Description
    Introduction to foam Overview of foam effects in the water system.
    Create wind-driven foam on the entire water surface Enable simulation to display foam across the entire water surface.
    Add foam with a script Guide to scripting foam effects programmatically.
    Create local foam near a GameObject Display local foam, such as trailing foam behind a floating, moving object.
    Foam reference Detailed settings and properties related to foam in the water system.
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)