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

Add config warnings for texture size/format/mipmap mismatch #591

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

TokisanGames
Copy link
Owner

@TokisanGames TokisanGames commented Jan 7, 2025

Fixes #542

Add SceneTree (config) warnings for:

  • Texture size mismatch
  • Texture format mismatch
  • Texture mipmap mismatch

Add console warnings for textures:

  • No mipmaps
  • Not square
  • Not power of 2

@Xtarsia Would you review this please? Are there any config warnings we should add?

Compatibility mode && albedo/normal is compressed is probably fine as a warning since it works and can be ignored. Config warnings is a nag screen, so should be considered "must dos".

@TokisanGames TokisanGames added enhancement New feature or request important High priority usability UI interface labels Jan 7, 2025
@Xtarsia
Copy link
Contributor

Xtarsia commented Jan 7, 2025

Looks good.

The only thing that I can think of to add, would be a console warning if there is a "generated" texture present, especially in the normal map array, someone could add a lot of textures and miss one.

@TokisanGames TokisanGames merged commit 787a4cd into main Jan 7, 2025
15 checks passed
@TokisanGames TokisanGames deleted the config-warnings branch January 7, 2025 22:06
@TokisanGames
Copy link
Owner Author

Great idea, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request important High priority usability UI interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Configuration Warnings
2 participants