Closed Fronkln closed 3 years ago
There seems to be a super rare interesting bug with this. Some of the displacements are placed with wrong offset
Results in this:
Should probably not be anything difficult to find out/fix? i sure as hell don't have any clue though
Not entirely sure but the UV's might need to be flipped by 90 degrees for displacements
Already solved this thing in a different project. Look here for reference https://github.com/lewa-j/vbsp-gles/blob/master/src/bsp_loader.cpp#L1014
Alright, i'll take a look
I believe its easier and better to just rewrite displacement code accordingly to the bsp loader you linked, i'll follow this up with another pull request if i manage to get it working
Managed to fix it commit tomorrow
SDK 2013 (Build2001 mod city_test03) (rubble displacements)
Half-Life 2 Beta (quarry_town02) (entire road is a displacement)
Fix identation and trailing spaces please.
I hate it when Github does this, i'll take a quick look
I has nothing to do with github. I believe the cause is your ide. Now we have mixed up spaces and tabs.
Visual studio is playing some big games with me right now, despite the code appearing normal in vs, i'll reopen this when im sure its fixed
I'm really sorry im puttin you through this
Try to open files in something like notepad++. It can show you where spaces and tab characters are
And instead of closing and opening new PRs, and creating many unnecessary commits, you should learn how to force push commits.
Ported over from Source to Unity, tested and confirmed. Biggest contribution yet!