godotengine / godot

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

[Question] How to change Default Environment Preview in 4.0 #54830

Closed Whimfoome closed 2 years ago

Whimfoome commented 2 years ago

Godot version

3.4 and 4.0

System information

Arch Linux

Issue description

In Godot 3, I made the default environment to be dark, without any effects, to be easy to see what is going on with collisions, materials, etc.

In Godot 4, the Environment Preview is too bright to notice small details

Godot 3 with custom environment: image

In Godot 4 you can edit the preview environment, but it's not permanent: image

I tried to change the default environment in the project settings, but that didn't do anything

Steps to reproduce

Create default environment to your liking to edit details in scenes. Apply it in the Project Settings Not working, it still uses the Environment Preview from the menu, which can be changed, but changes aren't permanent and reset every time

Minimal reproduction project

No response

Whimfoome commented 2 years ago

Also orthographic view, seems to not render properly image

Deozaan commented 2 years ago

Orthographic view seems to be triggering the automatic LOD if the mesh. Check those settings to adjust how it displays.

Calinou commented 2 years ago

Please open a separate issue for the orthographic LOD issue. In the meantime, you can disable LOD generation for your meshes in the Import dock.

I tried to change the default environment in the project settings, but that didn't do anything

Godot 4 no longer has a notion of default environment: https://github.com/godotengine/godot/pull/52916

Instead, you should tweak the preview environment by clicking the 3 vertical dots at the top of the 3D editor viewport (next to the environment and light icons). See https://github.com/godotengine/godot-proposals/issues/1599 for more information.

clayjohn commented 2 years ago

it still uses the Environment Preview from the menu, which can be changed, but changes aren't permanent and reset every time

Looks like this is the core of the problem. The environment preview settings should be saved somewhere so that they are maintained between scenes and after closing and reopening the editor.

Whimfoome commented 2 years ago

Okay, the environment preview setting is saved somewhere and is consistent between multiple openings of the project.

Default Environment now works again if set when preview environment is disabled.