diff options
| author | raysan5 <raysan5@gmail.com> | 2016-04-07 12:32:32 +0200 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2016-04-07 12:32:32 +0200 |
| commit | 1d545449bb19148b45d2d92f213e1001a8eb527c (patch) | |
| tree | 3e9627f74717b957521202fb17c316e936301bbb /examples/shaders_postprocessing.c | |
| parent | 78b502b0bf1ee796d86837c611150ed5f8d58fd2 (diff) | |
| download | raylib-1d545449bb19148b45d2d92f213e1001a8eb527c.tar.gz raylib-1d545449bb19148b45d2d92f213e1001a8eb527c.zip | |
Reviewed shaders and added comments
Diffstat (limited to 'examples/shaders_postprocessing.c')
| -rw-r--r-- | examples/shaders_postprocessing.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/shaders_postprocessing.c b/examples/shaders_postprocessing.c index 0bcd5156..632a6371 100644 --- a/examples/shaders_postprocessing.c +++ b/examples/shaders_postprocessing.c @@ -38,8 +38,8 @@ int main() Vector3 position = { 0.0f, 0.0f, 0.0f }; // Set model position - Shader shader = LoadShader("resources/shaders/base.vs", - "resources/shaders/bloom.fs"); // Load postpro shader + Shader shader = LoadShader("resources/shaders/glsl330/base.vs", + "resources/shaders/glsl330/bloom.fs"); // Load postpro shader // Create a RenderTexture2D to be used for render to texture RenderTexture2D target = LoadRenderTexture(screenWidth, screenHeight); @@ -76,7 +76,7 @@ int main() End3dMode(); - DrawText("HELLO TEXTURE!!!", 120, 200, 60, RED); + DrawText("HELLO POSTPROCESSING!", 70, 190, 50, RED); EndTextureMode(); // End drawing to texture (now we have a texture available for next passes) |
