LogoLogo
  • Introduction
  • 🌊Getting Started
    • Quick-start
  • ✨Features
    • Shader Properties
    • Caustics
    • Planar Reflections
    • Underwater Effects
    • Buoyancy
    • Multiple Water Styles
    • Vertex Colors
    • Fog
  • ❓Support
    • Compatibility
    • Limitations
    • Troubleshooting
    • Performance
    • Mobile Demo
    • Refund Policy
    • 3rd Party Integrations
  • 🌀Development
    • Changelog
    • Showcase
    • Roadmap
  • 💬Contact Me
    • Discord
    • Email
    • Twitter
    • Website
    • Forums
    • Asset Store
Powered by GitBook
On this page

Was this helpful?

  1. Features

Buoyancy

Get your ship sailing!

You can sample the wave height in C# in order to do your own buoyancy calculations. There is a buoyancy demo under Stylized Water For URP > Demos > Buoyancy.

Check out the BuoyantObject.cs script for an example.

Keep in mind, the buoyancy logic is very basic. It's more meant as a showcase to show what you can use the 'sampling wave height' functionality for.

PreviousUnderwater EffectsNextMultiple Water Styles

Last updated 4 years ago

Was this helpful?

✨