summaryrefslogtreecommitdiffhomepage
path: root/examples/Makefile.Web
diff options
context:
space:
mode:
authorJussi Viitala <[email protected]>2023-11-18 21:02:33 +0200
committerGitHub <[email protected]>2023-11-18 20:02:33 +0100
commit25c6c12150d6f0aeea83d55d1a0f16e12a3effd3 (patch)
treeb42d7be21d1e0d48a829c0ba0d5ea5f99fa5d2f3 /examples/Makefile.Web
parentf607cac267ae21e9b6392dc510f389b43c9e63f4 (diff)
downloadraylib-25c6c12150d6f0aeea83d55d1a0f16e12a3effd3.tar.gz
raylib-25c6c12150d6f0aeea83d55d1a0f16e12a3effd3.zip
Added glsl 100 and 120 shaders to lightmap example. (#3543)
* Added glsl 100 and 120 shaders to lightmap example. * Fixed lightmap example resource loading on web.
Diffstat (limited to 'examples/Makefile.Web')
-rw-r--r--examples/Makefile.Web8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/Makefile.Web b/examples/Makefile.Web
index e8a72661..aa42d722 100644
--- a/examples/Makefile.Web
+++ b/examples/Makefile.Web
@@ -968,10 +968,10 @@ shaders/shaders_julia_set: shaders/shaders_julia_set.c
shaders/shaders_lightmap: shaders/shaders_lightmap.c
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) -s FORCE_FILESYSTEM=1 \
- --preload-file shaders/resources/shaders/glsl330/lightmap.vs \
- --preload-file shaders/resources/shaders/glsl330/lightmap.fs \
- --preload-file shaders/resources/cubicmap_atlas.png \
- --preload-file shaders/resources/spark_flame.png
+ --preload-file shaders/resources/shaders/glsl100/lightmap.vs@resources/shaders/glsl100/lightmap.vs \
+ --preload-file shaders/resources/shaders/glsl100/lightmap.fs@resources/shaders/glsl100/lightmap.fs \
+ --preload-file shaders/resources/cubicmap_atlas.png@resources/cubicmap_atlas.png \
+ --preload-file shaders/resources/spark_flame.png@resources/spark_flame.png
shaders/shaders_mesh_instancing: shaders/shaders_mesh_instancing.c
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) \