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

Use the Static global illumination mode for CSG nodes by default #59293

Closed

Conversation

Calinou
Copy link
Member

@Calinou Calinou commented Mar 18, 2022

Follow-up to #59288 (can be merged independently).

This makes VoxelGI and SDFGI work out of the box with CSG nodes, which are typically used for static geometry such as level blockouts.

Note that LightmapGI will still not work until conversion to MeshInstance is implemented (ideally with UV2 unwrapping happening automatically if a LightmapGI node is present in the scene).

Interestingly, the generated class reference does not mention the gi_mode override (unlike e.g. CheckBox).

Testing project: test_csg_static.zip

This makes VoxelGI and SDFGI work out of the box with CSG nodes,
which are typically used for static geometry such as level blockouts.
@Calinou
Copy link
Member Author

Calinou commented May 10, 2022

Superseded by #60935, which is more general.

@Calinou Calinou closed this May 10, 2022
@Calinou Calinou deleted the csg-gi-mode-default-static branch July 2, 2022 21:00
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.

1 participant