├── Fog.cpp ├── Fog.h ├── Framebuffer.h ├── Geometry.h ├── Light.cpp ├── Light.h ├── Mesh.h ├── Model.h ├── README.md ├── ResourceManager.cpp ├── ResourceManager.h ├── Skybox.cpp ├── Skybox.h ├── Terrain.cpp ├── Terrain.h ├── Texture2D.cpp ├── Texture2D.h ├── Water.cpp ├── Water.h ├── camera.h ├── main.cpp ├── models ├── house │ ├── Farmhouse OBJ.mtl │ ├── Farmhouse OBJ.obj │ ├── Farmhouse Texture Bump Map .jpg │ ├── Farmhouse Texture.jpg │ ├── Farmhouse Texture_COLOR.png │ ├── Farmhouse Texture_DISP.png │ ├── Farmhouse Texture_NRM.png │ ├── Farmhouse Texture_OCC.png │ ├── Farmhouse Texture_SPEC.png │ ├── farmhouse.blend │ ├── farmhouse.blend1 │ ├── farmhouse.mtl │ └── farmhouse.obj └── tree3 │ ├── laubbaum.blend │ ├── laubbaum.blend1 │ ├── laubbaum.mtl │ ├── laubbaum.obj │ ├── preview.png │ ├── texture_laubbaum.png │ └── texture_laubbaum_NRM.png ├── resource.h ├── resources ├── skybox │ ├── back.png │ ├── bottom.png │ ├── front.png │ ├── left.png │ ├── night │ │ ├── back.png │ │ ├── bottom.png │ │ ├── front.png │ │ ├── left.png │ │ ├── right.png │ │ └── top.png │ ├── right.png │ └── top.png └── textures │ ├── LoadingPicture.jpg │ ├── LoadingPicture.png │ ├── grass_COLOR.png │ ├── heightmap_island_low_poly.jpg │ ├── sun.png │ ├── water_dudv_blur.jpg │ └── water_normal.jpg ├── shader.cpp ├── shader.h ├── shaders ├── Fog.glsl ├── Light.glsl ├── applyPostProcess.fs ├── gaussian_blur.fs ├── house.fs ├── house.vs ├── loading.fs ├── post_processing.vs ├── simple.fs ├── simple.vs ├── simple_tree.fs ├── simple_tree.vs ├── skybox.fs ├── skybox.vs ├── sun.fs ├── sun.vs ├── terrain.fs ├── terrain.vs ├── tree.fs ├── tree.vs ├── volumetric_lighting.fs ├── water.fs └── water.vs └── stb_image.h /Fog.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/Fog.cpp -------------------------------------------------------------------------------- /Fog.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/Fog.h -------------------------------------------------------------------------------- /Framebuffer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/Framebuffer.h -------------------------------------------------------------------------------- /Geometry.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/Geometry.h -------------------------------------------------------------------------------- /Light.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/Light.cpp -------------------------------------------------------------------------------- /Light.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/Light.h -------------------------------------------------------------------------------- /Mesh.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/Mesh.h -------------------------------------------------------------------------------- /Model.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/Model.h -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/README.md -------------------------------------------------------------------------------- /ResourceManager.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/ResourceManager.cpp -------------------------------------------------------------------------------- /ResourceManager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/ResourceManager.h -------------------------------------------------------------------------------- /Skybox.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/Skybox.cpp -------------------------------------------------------------------------------- /Skybox.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/Skybox.h -------------------------------------------------------------------------------- /Terrain.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/Terrain.cpp -------------------------------------------------------------------------------- /Terrain.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/Terrain.h -------------------------------------------------------------------------------- /Texture2D.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/Texture2D.cpp -------------------------------------------------------------------------------- /Texture2D.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/Texture2D.h -------------------------------------------------------------------------------- /Water.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/Water.cpp -------------------------------------------------------------------------------- /Water.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/Water.h -------------------------------------------------------------------------------- /camera.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/camera.h -------------------------------------------------------------------------------- /main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/main.cpp -------------------------------------------------------------------------------- /models/house/Farmhouse OBJ.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/models/house/Farmhouse OBJ.mtl -------------------------------------------------------------------------------- /models/house/Farmhouse OBJ.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/models/house/Farmhouse OBJ.obj -------------------------------------------------------------------------------- /models/house/Farmhouse Texture Bump Map .jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/models/house/Farmhouse Texture Bump Map .jpg -------------------------------------------------------------------------------- /models/house/Farmhouse Texture.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/models/house/Farmhouse Texture.jpg -------------------------------------------------------------------------------- /models/house/Farmhouse Texture_COLOR.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/models/house/Farmhouse Texture_COLOR.png -------------------------------------------------------------------------------- /models/house/Farmhouse Texture_DISP.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/models/house/Farmhouse Texture_DISP.png -------------------------------------------------------------------------------- /models/house/Farmhouse Texture_NRM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/models/house/Farmhouse Texture_NRM.png -------------------------------------------------------------------------------- /models/house/Farmhouse Texture_OCC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/models/house/Farmhouse Texture_OCC.png -------------------------------------------------------------------------------- /models/house/Farmhouse Texture_SPEC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/models/house/Farmhouse Texture_SPEC.png -------------------------------------------------------------------------------- /models/house/farmhouse.blend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/models/house/farmhouse.blend -------------------------------------------------------------------------------- /models/house/farmhouse.blend1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/models/house/farmhouse.blend1 -------------------------------------------------------------------------------- /models/house/farmhouse.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/models/house/farmhouse.mtl -------------------------------------------------------------------------------- /models/house/farmhouse.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/models/house/farmhouse.obj -------------------------------------------------------------------------------- /models/tree3/laubbaum.blend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/models/tree3/laubbaum.blend -------------------------------------------------------------------------------- /models/tree3/laubbaum.blend1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/models/tree3/laubbaum.blend1 -------------------------------------------------------------------------------- /models/tree3/laubbaum.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/models/tree3/laubbaum.mtl -------------------------------------------------------------------------------- /models/tree3/laubbaum.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/models/tree3/laubbaum.obj -------------------------------------------------------------------------------- /models/tree3/preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/models/tree3/preview.png -------------------------------------------------------------------------------- /models/tree3/texture_laubbaum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/models/tree3/texture_laubbaum.png -------------------------------------------------------------------------------- /models/tree3/texture_laubbaum_NRM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/models/tree3/texture_laubbaum_NRM.png -------------------------------------------------------------------------------- /resource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/resource.h -------------------------------------------------------------------------------- /resources/skybox/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/resources/skybox/back.png -------------------------------------------------------------------------------- /resources/skybox/bottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/resources/skybox/bottom.png -------------------------------------------------------------------------------- /resources/skybox/front.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/resources/skybox/front.png -------------------------------------------------------------------------------- /resources/skybox/left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/resources/skybox/left.png -------------------------------------------------------------------------------- /resources/skybox/night/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/resources/skybox/night/back.png -------------------------------------------------------------------------------- /resources/skybox/night/bottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/resources/skybox/night/bottom.png -------------------------------------------------------------------------------- /resources/skybox/night/front.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/resources/skybox/night/front.png -------------------------------------------------------------------------------- /resources/skybox/night/left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/resources/skybox/night/left.png -------------------------------------------------------------------------------- /resources/skybox/night/right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/resources/skybox/night/right.png -------------------------------------------------------------------------------- /resources/skybox/night/top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/resources/skybox/night/top.png -------------------------------------------------------------------------------- /resources/skybox/right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/resources/skybox/right.png -------------------------------------------------------------------------------- /resources/skybox/top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/resources/skybox/top.png -------------------------------------------------------------------------------- /resources/textures/LoadingPicture.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/resources/textures/LoadingPicture.jpg -------------------------------------------------------------------------------- /resources/textures/LoadingPicture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/resources/textures/LoadingPicture.png -------------------------------------------------------------------------------- /resources/textures/grass_COLOR.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/resources/textures/grass_COLOR.png -------------------------------------------------------------------------------- /resources/textures/heightmap_island_low_poly.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/resources/textures/heightmap_island_low_poly.jpg -------------------------------------------------------------------------------- /resources/textures/sun.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/resources/textures/sun.png -------------------------------------------------------------------------------- /resources/textures/water_dudv_blur.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/resources/textures/water_dudv_blur.jpg -------------------------------------------------------------------------------- /resources/textures/water_normal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/resources/textures/water_normal.jpg -------------------------------------------------------------------------------- /shader.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/shader.cpp -------------------------------------------------------------------------------- /shader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/shader.h -------------------------------------------------------------------------------- /shaders/Fog.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/shaders/Fog.glsl -------------------------------------------------------------------------------- /shaders/Light.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/shaders/Light.glsl -------------------------------------------------------------------------------- /shaders/applyPostProcess.fs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/shaders/applyPostProcess.fs -------------------------------------------------------------------------------- /shaders/gaussian_blur.fs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/shaders/gaussian_blur.fs -------------------------------------------------------------------------------- /shaders/house.fs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/shaders/house.fs -------------------------------------------------------------------------------- /shaders/house.vs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/shaders/house.vs -------------------------------------------------------------------------------- /shaders/loading.fs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/shaders/loading.fs -------------------------------------------------------------------------------- /shaders/post_processing.vs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/shaders/post_processing.vs -------------------------------------------------------------------------------- /shaders/simple.fs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/shaders/simple.fs -------------------------------------------------------------------------------- /shaders/simple.vs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/shaders/simple.vs -------------------------------------------------------------------------------- /shaders/simple_tree.fs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/shaders/simple_tree.fs -------------------------------------------------------------------------------- /shaders/simple_tree.vs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/shaders/simple_tree.vs -------------------------------------------------------------------------------- /shaders/skybox.fs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/shaders/skybox.fs -------------------------------------------------------------------------------- /shaders/skybox.vs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/shaders/skybox.vs -------------------------------------------------------------------------------- /shaders/sun.fs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/shaders/sun.fs -------------------------------------------------------------------------------- /shaders/sun.vs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/shaders/sun.vs -------------------------------------------------------------------------------- /shaders/terrain.fs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/shaders/terrain.fs -------------------------------------------------------------------------------- /shaders/terrain.vs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/shaders/terrain.vs -------------------------------------------------------------------------------- /shaders/tree.fs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/shaders/tree.fs -------------------------------------------------------------------------------- /shaders/tree.vs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/shaders/tree.vs -------------------------------------------------------------------------------- /shaders/volumetric_lighting.fs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/shaders/volumetric_lighting.fs -------------------------------------------------------------------------------- /shaders/water.fs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/shaders/water.fs -------------------------------------------------------------------------------- /shaders/water.vs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/shaders/water.vs -------------------------------------------------------------------------------- /stb_image.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcusXie3D/FoggyIsland/HEAD/stb_image.h --------------------------------------------------------------------------------