-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose World3D.compositor
#92383
base: master
Are you sure you want to change the base?
Expose World3D.compositor
#92383
Conversation
This will be overridden by the one in the first godot/scene/3d/world_environment.cpp Lines 98 to 107 in be56cab
So it doesn't seem to be overlooked IMO |
@AThousandShips that is intended+documented, just like the what was overlooked was exposing it in the actual resource where it is provided to the Viewport, thus forcing us to use the builtin |
The documentation should be updated on the |
@AThousandShips i'm not sure i understand what you mean, i took the documentation of the other properties that work exactly the same way and replaced the names. how should this be documented differently? should maybe all of them be documented a bit more thoroughly? maybe a note in the class doc in general about how |
(You don't need to tag me I'm right here, just adds annoying pings) It should match the part with "The default ... if not set on The rest is out of scope for this but this is a very important thing to note, or people will be confused when the compositor they assigned is suddenly replaced when a camera or |
the issue there is that the Camera3D logic does actually preserve the default value while tracking the temporary override by "enabled" cameras, while WorldEnvironment just writes all over all of those properties directly. I think I'll add a "this will be overwritten by WorldEnvironment nodes in the world", the "default" implies it stays the default. |
I'd say it doesn't imply that and that it should be uniform, so I'd say the documentation should be the same just with Note that the proposal that proposed this feature only mentioned |
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
this closes godotengine/godot-proposals#9815
I'm positive this just got missed in the
Compositor
implementation, since i could find no mention of its omission or any reasons for it (and it only makes usingWorld3D
resources more cumbersome).