diff options
| author | raysan5 <raysan5@gmail.com> | 2017-07-21 17:17:37 +0200 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2017-07-21 17:17:37 +0200 |
| commit | 9040526f175ac6e19551fa72e2dc25790be9f818 (patch) | |
| tree | 891683ce3793d32a9d4d4e4ac84da68675023f87 /examples/shaders/shaders_postprocessing.c | |
| parent | 38d9fcb08ef81cd5a3ab93df825eac7714d03e45 (diff) | |
| download | raylib-9040526f175ac6e19551fa72e2dc25790be9f818.tar.gz raylib-9040526f175ac6e19551fa72e2dc25790be9f818.zip | |
Adapt to new materials system
Diffstat (limited to 'examples/shaders/shaders_postprocessing.c')
| -rw-r--r-- | examples/shaders/shaders_postprocessing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/shaders/shaders_postprocessing.c b/examples/shaders/shaders_postprocessing.c index bb239efa..ae77a723 100644 --- a/examples/shaders/shaders_postprocessing.c +++ b/examples/shaders/shaders_postprocessing.c @@ -76,7 +76,7 @@ int main() Model dwarf = LoadModel("resources/model/dwarf.obj"); // Load OBJ model Texture2D texture = LoadTexture("resources/model/dwarf_diffuse.png"); // Load model texture (diffuse map) - dwarf.material.texDiffuse = texture; // Set dwarf model diffuse texture + dwarf.material.maps[MAP_DIFFUSE].texture = texture; // Set dwarf model diffuse texture Vector3 position = { 0.0f, 0.0f, 0.0f }; // Set model position |
