Skip to content

Planar reflections do not support whirlpools #1160

@Revmatek

Description

@Revmatek

Is there an existing issue for this?

  • I have searched the existing issues.

Have you checked the documentation to resolve your problem?

  • I have read the linked documentation and could not resolve my issue.

Current Behavior

Turning on planar reflections for the camera and then moving an object above a whirlpool (possibly any deformation) will create a floating reflection.

image
image
image

Expected Behavior

I would expect to see an offset reflection that accounts for any deformation. It may also be visually acceptable to simply not display reflections inside of whirlpools.

Steps To Reproduce

  1. Open main.unity
  2. Enable planar reflections on the ocean material and add the script to the camera
  3. Turn down chop / waves so you can see reflections
  4. Create a whirlpool
  5. Place a cube above the whirlpool
  6. Observe that the reflection displays as if there were no whirlpool

Unity Version

2021.3.26f1

Crest Version

4.19

Render Pipeline

Built-In

Editor or Standalone

Editor (Edit Mode), Editor (Play Mode), Standalone

Environment

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions