summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile8
-rw-r--r--examples/models/resources/canary_wharf_2k.hdrbin0 -> 6582992 bytes
2 files changed, 7 insertions, 1 deletions
diff --git a/examples/Makefile b/examples/Makefile
index a218cf9e..48524e3d 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -248,7 +248,13 @@ ifeq ($(PLATFORM),PLATFORM_WEB)
# --profiling # include information for code profiling
# --memory-init-file 0 # to avoid an external memory initialization code file (.mem)
# --preload-file resources # specify a resources folder for data compilation
- CFLAGS += -s USE_GLFW=3 -s FORCE_FILESYSTEM=1 -s ASYNCIFY --preload-file $(dir $<)resources@resources
+ CFLAGS += -s USE_GLFW=3 -s FORCE_FILESYSTEM=1 -s ASYNCIFY -s TOTAL_MEMORY=67108864
+ CFLAGS += --preload-file models/resources/shaders/glsl100/skybox.vs@resources/shaders/glsl100/skybox.vs
+ CFLAGS += --preload-file models/resources/shaders/glsl100/skybox.fs@resources/shaders/glsl100/skybox.fs
+ CFLAGS += --preload-file models/resources/dresden_square_2k.hdr@resources/dresden_square_2k.hdr
+ CFLAGS += --preload-file models/resources/shaders/glsl100/cubemap.vs@resources/shaders/glsl100/cubemap.vs
+ CFLAGS += --preload-file models/resources/shaders/glsl100/cubemap.fs@resources/shaders/glsl100/cubemap.fs
+ #$(dir $<)resources@resources
# NOTE: Simple raylib examples are compiled to be interpreter by emterpreter, that way,
# we can compile same code for ALL platforms with no change required, but, working on bigger
diff --git a/examples/models/resources/canary_wharf_2k.hdr b/examples/models/resources/canary_wharf_2k.hdr
new file mode 100644
index 00000000..8346abe5
--- /dev/null
+++ b/examples/models/resources/canary_wharf_2k.hdr
Binary files differ