Open iWrote opened 4 years ago
i added envmaps :D
Skyspheres have ugly stich artifacts in one hemisphere.
Unless I adopt 4x4 matrices-homo coord OR quaternions the camera cannot look directly up at the sky or a cross product with global-up-vector produces a divide by zero later aka Crash.
Maybe add a manual check and set vectors by hand for now :/
; if it doesn’t show up high in the execution time profile, it doesn’t need optimization until all the features are supported!