Closed ataulien closed 6 years ago
Should be working now.
I fixed some compile errors related to the bgfx update.
Now the sky is completely greyscale (I see clouds, but no colors) in G1 & G2
Also the program crashes in RenderSystem::destroyShaders()
when exiting the game:
REGoth/lib/bgfx-cmake/bgfx/src/bgfx_p.h (3408): BGFX CHECK Invalid handle. destroyProgram handle: 65535 (max 512)
Might be due to shaders not copied to right location?
Seems like the shaders haven't been loaded. The default bgfx-shaders seem to turn everything red-ish/gray.
This is probably caused by the shader-format being outdated since master moved to a new bgfx version. I'll have a look at it!
I could reproduce the issue and fixed it by recompiling all shaders for the new bgfx version.
For some reason the commit doesn't show up here though...
I re-run test, and it made PR green
Then someone please merge it :)
Added rendering of the Sky-Dome in G2 and the Sky-Plane for G1.