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

Correctly detect transparency on PSX levels #1377

Open
chreden opened this issue Mar 18, 2025 · 0 comments
Open

Correctly detect transparency on PSX levels #1377

chreden opened this issue Mar 18, 2025 · 0 comments
Assignees

Comments

@chreden
Copy link
Owner

chreden commented Mar 18, 2025

Transparency on PSX is if the CLUT value is 0,0,0.
In the strange generated textile world of trview we can say a textile is transparent if it has any 0,0,0 cluts.
Currently reading the Attribute value of object texture which apparently doesn't do anything.

TR3 is also treating everything as transparent at the moment.

@chreden chreden self-assigned this Mar 18, 2025
@chreden chreden changed the title Correct detect transparency on PSX levels Correctly detect transparency on PSX levels Mar 18, 2025
chreden added a commit that referenced this issue Mar 19, 2025
Check clut values - if 0,0,0 then set the attribute to 1 (transparent)
#174
#1377
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant