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

PBR textures are not applied for 2D layer #696

Open
0x4E69676874466F78 opened this issue Dec 6, 2023 · 1 comment
Open

PBR textures are not applied for 2D layer #696

0x4E69676874466F78 opened this issue Dec 6, 2023 · 1 comment
Labels
bug Something isn't working materials ray tracing visual bug Visual glitches, something looks incorrectly

Comments

@0x4E69676874466F78
Copy link
Collaborator

Например хочу сменить фон консоли и загрузки, это не выходит.

@0x4E69676874466F78 0x4E69676874466F78 added bug Something isn't working ray tracing visual bug Visual glitches, something looks incorrectly materials labels Dec 6, 2023
@w23
Copy link
Owner

w23 commented Dec 11, 2023

Казалось бы, можно просто взять и в vk_overlay.c подменить текстуру на текстуру из материалов.

Однако ж, поди ж ты:

  1. Материалы грузятся только когда грузится карта. То есть нужно грузить материалы раньше. Когда у нас ещё нет ни карты, ни списка wad файлов.
  2. Список wad файлов закопан глубоко в движке, и не хочет оттуда вылезать.
  3. Оверлейные текстуры грузятся не сразу, а по мере надобности, а загрузчик материалов пропускает незагруженные текстуры.

Выхода простого тут не вижу. Походу нужно переделывать, как мы подпатчиваем текстуры. Например, искать замену именно в момент загрузки текстуры, а не отдельным проходом с материалами, как сейчас.

@w23 w23 mentioned this issue Dec 11, 2023
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working materials ray tracing visual bug Visual glitches, something looks incorrectly
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants