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

Allow setting a cubemap as default parameter to shader #95126

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

Chaosus
Copy link
Member

@Chaosus Chaosus commented Aug 4, 2024

This change will allow to correctly setup a Cubemap node in visual shader (using both Cubemap and CompressedCubemap resources).

Before:
cubemap_before

After:
cubemap_fix

@Chaosus Chaosus requested review from a team as code owners August 4, 2024 12:02
@Chaosus Chaosus added this to the 4.4 milestone Aug 4, 2024
@Chaosus Chaosus force-pushed the shader_cubemap_fix branch 3 times, most recently from acde2bb to e2457ad Compare August 4, 2024 13:36
@Chaosus Chaosus requested review from a team as code owners August 4, 2024 13:36
@Chaosus Chaosus force-pushed the shader_cubemap_fix branch from e2457ad to d2d8081 Compare August 4, 2024 13:45
@Chaosus Chaosus force-pushed the shader_cubemap_fix branch 3 times, most recently from ac1a70e to 6262260 Compare August 4, 2024 16:36
Copy link
Member

@Calinou Calinou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally, it works as expected.

Testing project: test_cubemap_shader.zip

@Chaosus Chaosus force-pushed the shader_cubemap_fix branch from acbfb4c to db251a3 Compare August 27, 2024 06:43
@akien-mga akien-mga merged commit 21bcff0 into godotengine:master Aug 27, 2024
18 checks passed
@akien-mga
Copy link
Member

Thanks!

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.

Cubemap Node does not accept an imported cubemap
5 participants