Closed Derpius closed 2 years ago
Almost done, just need to swap loading texdata paths as textures to materials (why are they called texdatas), and fix normals etc
Normals and materials fixed, however displacements still have severe artefacts
Also need to add a hitworld bool to accel building and rebuilding
Displacement normals fixed, still need to add hitworld bool and transform tangents and binormals along with normals
TBN finished but now i have another issue of crashing on loading a more complex map like something from TF2
Fixed, issue was with my FreeAll
function not setting pointers to null
Only thing left to do is add a hit world parameter back into the build function
Displacement texture blending added
Finalised in b23928b2fee5175f12226c32f101f7545f186150
Describe the solution you'd like Replace the existing call to traceline with my BSP parser
Additional context As it currently stands, the parser only works correctly when compiled with GCC Compiling with MSVC (which is needed for source ABI compatibility) causes normal mapping to break