diff options
| author | Ray <[email protected]> | 2020-03-05 13:39:11 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2020-03-05 13:39:11 +0100 |
| commit | d323767d7903c6b5ac56e4a96e71a825c05a785e (patch) | |
| tree | e930678eb56f97935f00c6506038defbf8b99572 /examples/web/shaders/shaders_basic_lighting.c | |
| parent | d80c0d839dd70a90df11913fd24cdbcbd6bf356e (diff) | |
| download | raylib.com-d323767d7903c6b5ac56e4a96e71a825c05a785e.tar.gz raylib.com-d323767d7903c6b5ac56e4a96e71a825c05a785e.zip | |
Update shader examples to run on web
Diffstat (limited to 'examples/web/shaders/shaders_basic_lighting.c')
| -rw-r--r-- | examples/web/shaders/shaders_basic_lighting.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/web/shaders/shaders_basic_lighting.c b/examples/web/shaders/shaders_basic_lighting.c index 6428663..f0ea2dd 100644 --- a/examples/web/shaders/shaders_basic_lighting.c +++ b/examples/web/shaders/shaders_basic_lighting.c @@ -99,8 +99,8 @@ int main(void) modelB.materials[0].maps[MAP_DIFFUSE].texture = texture; modelC.materials[0].maps[MAP_DIFFUSE].texture = texture; - shader = LoadShader(FormatText("resources/shaders/glsl%i/basic_lighting.vs", GLSL_VERSION), - FormatText("resources/shaders/glsl%i/basic_lighting.fs", GLSL_VERSION)); + shader = LoadShader(FormatText("resources/shaders/glsl%i/base_lighting.vs", GLSL_VERSION), + FormatText("resources/shaders/glsl%i/lighting.fs", GLSL_VERSION)); // Get some shader loactions shader.locs[LOC_MATRIX_MODEL] = GetShaderLocation(shader, "matModel"); |
