jmickle66666666 / DoomUnity

Unity libs for working with Doom, also my Doom engine: NaSTY
87 stars 7 forks source link

Sky rendering still incorrect #26

Open jmickle66666666 opened 6 years ago

jmickle66666666 commented 6 years ago

image of tnt map01 sky

Looks like it's not scaling properly for TNT.wad

Petethegoat commented 6 years ago

What would desired behaviour be here? Similar to ZDoom's sky stretching?

https://zdoom.org/wiki/Sky_stretching

jmickle66666666 commented 6 years ago

zdoom does some extra funky stuff to make it work, i'd use PRBoom+ or Chocolate Doom to reference and reverse-engineer from there

Petethegoat commented 6 years ago

PRBoom+ prboom+ DoomUnity 2017-12-23_13-26-50

I also just noticed that toggling HDR on the camera inverts the skybox rendering for some reason. Will see if I can find out why that is as well.

Petethegoat commented 6 years ago

The DoomUnity skybox isn't rotated because my player prefab doesn't have that script added, but it also appears that doom skyboxes are horizontally flipped.