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 from old project is not rendering in preview (transparent?) #1161

Open
yaustar opened this issue May 29, 2024 · 3 comments
Open

Material from old project is not rendering in preview (transparent?) #1161

yaustar opened this issue May 29, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@yaustar
Copy link
Contributor

yaustar commented May 29, 2024

https://playcanvas.com/project/1224024/overview/invisible-material

Look for the player material. I can't see any immediate issues with the editor settings

image
@willeastcott
Copy link
Contributor

willeastcott commented May 29, 2024

That material has blend mode set to 'None'. But also has opacity set to 0.569 and alpha test set to 1. But the actual values for opacity and alpha test cannot be seen until you switch the blend mode to 'Alpha' and set an opacity map:

image

It looks like alpha test is active even when blending is disabled which seems a little odd. This might need @mvaligursky to comment (he's off this week though - I'll assign this to him in the meantime).

@willeastcott willeastcott added the bug Something isn't working label May 29, 2024
@albertvanveen
Copy link

To give some background information; The material becomes invisible out of nowhere in a project of mine. So first it's visible and after some time it's invisible. I have replaced the material twice now. As far as I can remember it's just a default material with a diffuse color.

@Maksims
Copy link

Maksims commented May 30, 2024

It looks like alpha test is active even when blending is disabled which seems a little odd. This might need @mvaligursky to comment (he's off this week though - I'll assign this to him in the meantime).

Alpha test should work even with blend None.
Editor should show alpha test slider regardless of blend selected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants