diff options
| author | raysan5 <[email protected]> | 2017-07-21 17:17:37 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2017-07-21 17:17:37 +0200 |
| commit | 9040526f175ac6e19551fa72e2dc25790be9f818 (patch) | |
| tree | 891683ce3793d32a9d4d4e4ac84da68675023f87 /examples/models/models_skybox.c | |
| parent | 38d9fcb08ef81cd5a3ab93df825eac7714d03e45 (diff) | |
| download | raylib-9040526f175ac6e19551fa72e2dc25790be9f818.tar.gz raylib-9040526f175ac6e19551fa72e2dc25790be9f818.zip | |
Adapt to new materials system
Diffstat (limited to 'examples/models/models_skybox.c')
| -rw-r--r-- | examples/models/models_skybox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/models/models_skybox.c b/examples/models/models_skybox.c index 500cb19b..25b01e9c 100644 --- a/examples/models/models_skybox.c +++ b/examples/models/models_skybox.c @@ -35,7 +35,7 @@ int main() // Load cubemap shader and setup required shader locations Shader shdrCubemap = LoadShader("resources/shaders/cubemap.vs", "resources/shaders/cubemap.fs"); - SetShaderValuei(shdrCubemap, GetShaderLocation(shdrCubemap, "environmentMap"), (int[1]){ 0 }, 1); + SetShaderValuei(shdrCubemap, GetShaderLocation(shdrCubemap, "equirectangularMap"), (int[1]){ 0 }, 1); Texture2D texHDR = LoadTexture("resources/pinetree.hdr"); skybox.material.maps[MAP_CUBEMAP].texture = GenTextureCubemap(shdrCubemap, texHDR, 512); |
