Skip to content
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

Emit node configuration warnings for GeometryInstance3D distance fade #55370

Conversation

Calinou
Copy link
Member

@Calinou Calinou commented Nov 26, 2021

The visibility range begin/end margin properties must be set above 0.0 for the fade transition to be visible.

This closes #55366.

Question: Are there use cases where you want only one of the transitions to be smooth? Is this needed for intermediate LOD levels (when you have 3 or more LOD levels), for instance? Right now, the node configuration warning will be emitted individually for the "begin" and "end" fade transitions. If this is a problem, we should merge both together and only emit a single warning if neither of the transitions have a non-zero margin.

The visibility range begin/end margin properties must be set above 0.0
for the fade transition to be visible.
@JFonS
Copy link
Contributor

JFonS commented Jan 4, 2022

Question: Are there use cases where you want only one of the transitions to be smooth? Is this needed for intermediate LOD levels (when you have 3 or more LOD levels), for instance? Right now, the node configuration warning will be emitted individually for the "begin" and "end" fade transitions. If this is a problem, we should merge both together and only emit a single warning if neither of the transitions have a non-zero margin.

Yeah, intermediate LOD levels grant using different fade modes on the begin and far range limits, so the PR looks good as it is now.

@JFonS JFonS merged commit 6c25d05 into godotengine:master Jan 4, 2022
@Calinou Calinou deleted the geometryinstance3d-lod-fade-node-configuration-warning branch January 4, 2022 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Vulkan: Emit a node configuration warning when GeometryInstance3D fade is enabled, but the margin is set to 0
2 participants