Skip to content

CameraAttributes not available in 2D #68864

@h0lley

Description

@h0lley

Godot version

v4.0.beta.custom_build [84c404f]

System information

Ubuntu, Vulkan, Nvidia

Issue description

In Godot 3, effects such as DOF near blur and auto exposure have been very useful in 2D. Since these effects have now been moved to CameraAttributes, they no longer apply to 2D.

Examples:

I've been using auto exposure to get a better handle on calibrating glow. Without it, it was difficult not to get extremely exaggerated glow in situations such as where your game cycles through day and night.

overexposureflow

I've been using DOF near blur to do things like blurring the game world during on the pause screen:

dofnearblur

while this should be achievable with a shader, too, it was really nice to be able to do this with a simple WorldEnvironment setting.

Related: godotengine/godot-proposals#4564

Steps to reproduce

  1. Add a WorldEnvironment node to your 2D scene
  2. Attempt to apply any effect to your scene using CameraAttributes
  3. Sad

Minimal reproduction project

please let me know if desirable

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions