Fix release distribution (#4713)

Statically link SDL2 to make our samples (glTF Viewer, etc.) completely
standalone, and include missing resources (fonts and default environment
map for the IBL).
This commit is contained in:
Romain Guy
2021-10-07 10:11:27 -07:00
committed by GitHub
parent 764a0df669
commit a5dbddfd12
8 changed files with 18 additions and 13 deletions

View File

@@ -51,7 +51,7 @@ namespace {
static constexpr double kFieldOfViewDeg = 60.0;
static constexpr double kNearPlane = 0.1;
static constexpr double kFarPlane = 50.0;
static constexpr const char* kIBLFolder = "default_env";
static constexpr const char* kIBLFolder = "assets/ibl/lightroom_14b";
static constexpr double kRotationDegPerSec = 36.0;
static constexpr math::float3 kCameraCenter = {0.0f, 0.0f, 0.0f};
static constexpr math::float3 kCameraUp = {0.0f, 1.0f, 0.0f};