diff options
| author | raysan5 <raysan5@gmail.com> | 2016-06-24 19:49:36 +0200 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2016-06-24 19:49:36 +0200 |
| commit | 5f7ac64c44543383b10ec6a56e5ec1db5706276e (patch) | |
| tree | 5605c0dcad2432f84494deaa527012c5e26eedb4 /examples/shaders_postprocessing.c | |
| parent | b358402cb39d2b06a69be28e64b086a0f44b42f1 (diff) | |
| download | raylib-5f7ac64c44543383b10ec6a56e5ec1db5706276e.tar.gz raylib-5f7ac64c44543383b10ec6a56e5ec1db5706276e.zip | |
Removed function SetModelTexture()
It's more educational to go through new material system, so, I decide to
remove this function to avoid students confusion...
Diffstat (limited to 'examples/shaders_postprocessing.c')
| -rw-r--r-- | examples/shaders_postprocessing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/shaders_postprocessing.c b/examples/shaders_postprocessing.c index 5e8b5a80..43d21e08 100644 --- a/examples/shaders_postprocessing.c +++ b/examples/shaders_postprocessing.c @@ -34,7 +34,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) - SetModelTexture(&dwarf, texture); // Bind texture to model + dwarf.material.texDiffuse = texture; // Set dwarf model diffuse texture Vector3 position = { 0.0f, 0.0f, 0.0f }; // Set model position |
