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

RTX: Incorrect alpha on map c1a4d #290

Closed
MaxG2D opened this issue Dec 15, 2021 · 5 comments · Fixed by #520
Closed

RTX: Incorrect alpha on map c1a4d #290

MaxG2D opened this issue Dec 15, 2021 · 5 comments · Fixed by #520
Labels
bug Something isn't working ray tracing visual bug Visual glitches, something looks incorrectly
Milestone

Comments

@MaxG2D
Copy link

MaxG2D commented Dec 15, 2021

VK:
unknown2
VK PathTracing:
unknown

@MaxG2D MaxG2D added bug Something isn't working ray tracing visual bug Visual glitches, something looks incorrectly labels Dec 15, 2021
@MaxG2D MaxG2D changed the title RTX: Incorect alpha on map c1a4d RTX: Incorrect alpha on map c1a4d Dec 15, 2021
@0x4E69676874466F78
Copy link
Collaborator

0x4E69676874466F78 commented Dec 15, 2021

Происходит потому что emissive текстуры в текущей реализации рендера не прозрачные.
В данном случае можно обойти эту ситуацию, положив лампочки внутрь а у самой текстуры выключить свечение.
Однако остаётся вопрос, есть ли ещё такие поверхности? возможно где-то всё же понадобится честная реализация прозрачной светящейся текстуры.

@MaxG2D
Copy link
Author

MaxG2D commented Dec 22, 2021

I thought of checking it out in GL renderer, and surprisingly, the texture is completely different...
c1a4d_0000

@0x4E69676874466F78
Copy link
Collaborator

@MaxG2D because RenderMode is Color.

@0x4E69676874466F78
Copy link
Collaborator

У нас rendermode 1 (color) просто применяет на текстуру цвет из rendercolor и полупрозрачность из renderamt.
изображение
В то же время в GL всё тоже самое только браш теряет текстуру и работает с чистым цветом.
изображение

@0x4E69676874466F78
Copy link
Collaborator

GL:
image
VK rastr:
image
VK ray tracing (#460):
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ray tracing visual bug Visual glitches, something looks incorrectly
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants