diff options
| author | Ray <[email protected]> | 2017-04-03 23:10:27 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2017-04-03 23:10:27 +0200 |
| commit | 50bc77ed96337026604b36e4c008fecc39ebd0bb (patch) | |
| tree | 5fb951ea469633a1b272ad82a8d3cca9a02b59a5 /docs/examples/web/shaders_shapes_textures.js | |
| parent | e6ed85e993b049a28dcc3c37bd5fadc6ab159df7 (diff) | |
| download | raylib-50bc77ed96337026604b36e4c008fecc39ebd0bb.tar.gz raylib-50bc77ed96337026604b36e4c008fecc39ebd0bb.zip | |
Improve web examples -IN PROGRESS-
Diffstat (limited to 'docs/examples/web/shaders_shapes_textures.js')
| -rw-r--r-- | docs/examples/web/shaders_shapes_textures.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/examples/web/shaders_shapes_textures.js b/docs/examples/web/shaders_shapes_textures.js index 3b171c3d..1a162aca 100644 --- a/docs/examples/web/shaders_shapes_textures.js +++ b/docs/examples/web/shaders_shapes_textures.js @@ -104,6 +104,8 @@ Module.expectedDataFileDownloads++; } Module['FS_createPath']('/', 'resources', true, true); Module['FS_createPath']('/resources', 'texture_formats', true, true); +Module['FS_createPath']('/resources', 'shaders', true, true); +Module['FS_createPath']('/resources/shaders', 'glsl100', true, true); function DataRequest(start, end, crunched, audio) { this.start = start; @@ -183,7 +185,7 @@ Module['FS_createPath']('/resources', 'texture_formats', true, true); } } - loadPackage({"files": [{"audio": 0, "start": 0, "crunched": 0, "end": 116512, "filename": "/resources/texture_formats/sonic.png"}], "remote_package_size": 116512, "package_uuid": "d1fc9f95-b3a7-4538-9e6f-b593f6d6be0b"}); + loadPackage({"files": [{"audio": 0, "start": 0, "crunched": 0, "end": 116512, "filename": "/resources/texture_formats/sonic.png"}, {"audio": 0, "start": 116512, "crunched": 0, "end": 117117, "filename": "/resources/shaders/glsl100/base.vs"}, {"audio": 0, "start": 117117, "crunched": 0, "end": 117782, "filename": "/resources/shaders/glsl100/grayscale.fs"}], "remote_package_size": 117782, "package_uuid": "d42d3374-bb59-4789-9c86-3d81cea4c708"}); })(); |
