bool loadEnvMap(const std::string &path, Renderer &r)
Loads an HDRI map and uploads it as a GPU texture.
Definition texture.cpp:11
bool uploadTexture(const vector< CPUMaterial > &cpu_materials, vector< GPUMaterial > &gpu_materials, Renderer &r)
Builds the material texture array from the loaded materials. Uploads every material texture into a GP...
Definition texture.cpp:190