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

TEN: remove the sky texture size limitation #940

Open
Joey79100 opened this issue Nov 10, 2024 · 0 comments
Open

TEN: remove the sky texture size limitation #940

Joey79100 opened this issue Nov 10, 2024 · 0 comments

Comments

@Joey79100
Copy link
Collaborator

Joey79100 commented Nov 10, 2024

Tomb Editor stops level compilation if the sky texture selected isn't exactly 256*256px.
However, TombEngine doesn't have this requirement: it only has to be a square, and the dimensions have to be a multiple of 4*.

Tomb Editor should remove this artificial limitation for TombEngine, to allow for very crisp clouds textures.

image

* I removed this check on my end and tested random resolutions up to 8192*8192 to verify this, but haven't actually checked the TombEngine code to see what is the actual requirement.
Here's the check:

if (image.Width != 256 || image.Height != 256)

(come to think of it, maybe the same is true for original engine, except the max resolution is 256*256?)

@Joey79100 Joey79100 changed the title TombEngine: remove the sky texture size limitation TEN: remove the sky texture size limitation Nov 20, 2024
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