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

Material CubeMap projection properties - are not available #1226

Open
Maksims opened this issue Nov 14, 2024 · 0 comments
Open

Material CubeMap projection properties - are not available #1226

Maksims opened this issue Nov 14, 2024 · 0 comments

Comments

@Maksims
Copy link
Collaborator

Maksims commented Nov 14, 2024

If the material does not have an explicitly set cubemap, it will use a global scene cubemap. While cubeMapProjection is still applied from the material.

But now there is a problem, when explicit cubemap is not set, UI hides projection properties.
So if you set explicit cubemap on a material and switch to a box projection, and then remove a cubemap from it, then box projection will still apply, but UI will be hidden.

Cubemap projection and its related fields should be visible regardless of materials cubemap value as it still affects its appearance with global cubemap.

The specific lines to change are: editor/inspector/assets/material.js#L1571-L1575

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant