Skip to content

Incorrect Fresnel for Ortho Projections #2369

@aevyrie

Description

@aevyrie

Bevy version

Bevy main

Operating system & version

Win10

What you did

Run the current pbr example

What you expected to happen

Fresnel for ortho camera should be a symmetric halo.

What actually happened

Fresnel "points" to the center of the screen

See fresnel highlights in this screenshot from discord:
image

image

Additional information

See this Unity bug report for the same shader bug:
https://forum.unity.com/threads/fresnel-effect-does-not-work-with-orthographic-cameras.807240/
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions