Closed buvk closed 1 year ago
This is a known issue with the new shatter rendering and does not only happen in LA.
it's also rendered 1 sided, is there any reason for that?
https://github.com/Vadru93/LevelMod/blob/852079f6f6c61bcb599e494804c01714ae1ddbce/source/Physics/Shatter.cpp#L427 It should be 2 sided since no culling is applied
here's the moment it shatters, you can see 1 triangle is faced forward, the other one is faced backwards. you can eventually see some bits from the other triangle as they rotate.
https://github.com/Vadru93/LevelMod/blob/852079f6f6c61bcb599e494804c01714ae1ddbce/source/Objects/Mesh.h#L238 I found the problem, I need to look into how materials are submited. Probably uncommenting the Submit_Original will fix this issue.
that fixed it. what about the color inversion? i think it's original material rendering bug. did you try other material flags?
Shattered glass in LA is the wrong color, but only when you are facing away from the fountain. Does not happen in vanilla.
LevelMod
Console