godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
88.7k stars 20.12k forks source link

Editor 3d view: Unchecking "Perspective > View Environment" does not disable camera attributes #88822

Open jdies opened 6 months ago

jdies commented 6 months ago

Tested versions

System information

Windows 10 - Godot v4.2.1.stable.official - Vulkan (Forward+) - NVIDIA GeForce RTX 3060 Laptop GPU - AMD Ryzen 7 5800H with Radeon Graphics 3.20GHz

Issue description

IMO, the camera attributes should be deactivated as well.

Having the camera attributes activated at all times makes scene editing harder. This either forces the user to split up the scene just because of the WorldEnvironment, or to delete + re-add the WorldEnvironment while editing the scene.

This issue makes the Camera Attributes on the WorldEnvironment node less useful than it could be.

I am aware that CameraAttributes can be set on cameras directly.

Steps to reproduce

  1. Create 3d scene
  2. Add WorldEnvironment node
  3. Set camera attributes. E.g. DOF Blur
  4. In the editor, uncheck "Perspective > View Environment"
  5. Observe: Camera Attributes are still in effect

Minimal reproduction project (MRP)

environment-camera.zip

Calinou commented 6 months ago

This makes sense, but I wonder if View Camera Attributes should be a separate checkbox from View Environment. Are there any use cases for having one but not the other enabled?