Skip to content

Commit b4b5c60

Browse files
committed
load custom cubemap
1 parent 8d25cf4 commit b4b5c60

18 files changed

+18064
-16
lines changed

CMakeLists.txt

+4-1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ message(STATUS "Found ASSIMP in ${ASSIMP_INCLUDE_DIR}")
4949
# STB_IMAGE
5050
add_library(STB_IMAGE "thirdparty/stb_image.cpp")
5151

52+
# tinyexr
53+
add_library(TINYEXR "thirdparty/tinyexr.cpp" "thirdparty/miniz.c")
54+
5255
# GLAD
5356
add_library(GLAD "thirdparty/glad.c")
5457

@@ -64,7 +67,7 @@ find_library(PROPSYS Propsys.lib)
6467
find_library(SHLWAPI Shlwapi.lib)
6568

6669
# Put all libraries into a variable
67-
set(LIBS ${GLFW3_LIBRARY} ${OPENGL_LIBRARY} IMGUI GLAD ${CMAKE_DL_LIBS} ${ASSIMP_LIBRARY} STB_IMAGE IMGUIZMO ${COMCTL32} ${PROPSYS} ${SHLWAPI})
70+
set(LIBS ${GLFW3_LIBRARY} ${OPENGL_LIBRARY} IMGUI GLAD ${CMAKE_DL_LIBS} ${ASSIMP_LIBRARY} STB_IMAGE TINYEXR IMGUIZMO ${COMCTL32} ${PROPSYS} ${SHLWAPI})
6871

6972
# Define the include DIRs
7073
include_directories(

include/miniz.h

+1,350
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)