diff options
| author | Ray San <[email protected]> | 2017-10-20 18:24:50 +0200 |
|---|---|---|
| committer | Ray San <[email protected]> | 2017-10-20 18:24:50 +0200 |
| commit | a29365ff2a4e597bf6cb046ea6d51bfa09e1df42 (patch) | |
| tree | ccfdee66ea672a6094167ff0de67a30028302a91 /examples/web/shaders/shaders_postprocessing.c | |
| parent | 7447deed40f1deabee659155a30b2d6aa454dafd (diff) | |
| download | raylib.com-a29365ff2a4e597bf6cb046ea6d51bfa09e1df42.tar.gz raylib.com-a29365ff2a4e597bf6cb046ea6d51bfa09e1df42.zip | |
Updated all web examples for raylib 1.8
Diffstat (limited to 'examples/web/shaders/shaders_postprocessing.c')
| -rw-r--r-- | examples/web/shaders/shaders_postprocessing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/web/shaders/shaders_postprocessing.c b/examples/web/shaders/shaders_postprocessing.c index bf65be9..a5e7beb 100644 --- a/examples/web/shaders/shaders_postprocessing.c +++ b/examples/web/shaders/shaders_postprocessing.c @@ -100,7 +100,7 @@ int main() dwarf = LoadModel("resources/model/dwarf.obj"); // Load OBJ model texture = LoadTexture("resources/model/dwarf_diffuse.png"); // Load model texture - dwarf.material.texDiffuse = texture; // Set dwarf model diffuse texture + dwarf.material.maps[MAP_DIFFUSE].texture = texture; // Set dwarf model diffuse texture // Load all postpro shaders // NOTE 1: All postpro shader use the base vertex shader (DEFAULT_VERTEX_SHADER) |
