Commit graph raylib/examples/shaders/shaders_raymarching.c
Author SHA1 Message Date
Industrious Nomad
31351edc33
Removed the PLATFORM_DESKTOP Define 2019-10-25 16:08:54 -04:00
Industrious Nomad
ca1a5028d8
Closer Match to original code 2019-10-25 05:47:21 -04:00
Industrious Nomad
c8e15d6bad
Updated Source
Added   - #define PLATFORM_DESKTOP line for desktop users.
            This now will correctly find the proper glsl version for the raymarching.fs file.
  Removed - Uniforms --> deltaTime and viewUp. Including the code that was setting them.
            They were never used and they were triggering a log warning.
  Removed - The const from both screenWidth and screenHeight.
            Now they can be used to update the shader resolution when screen is resized.
            NOTE : This is a quick fix and probably not the best idea.
  Added   - IsWindowResized() to check if screen is resized.
            If window is resized then width, height and shader resolution are updated.
  Changed - MIT tag at bottom right color value to BLACK. Now it's easier to see.
2019-10-25 05:40:38 -04:00
Ray
b525039e0a Review ALL examples 2019-05-20 16:36:42 +02:00
Ray
2edec8ae28 Some example tweaks 2019-05-14 00:08:21 +02:00
raysan5
557456cace Review window title 2019-01-19 14:15:55 +01:00
Ray
55f8dbc755 WARNING: Redesigned SetShaderValue() 2019-01-10 11:25:26 +01:00
Ray
788bb78989 Some tweaks 2018-12-20 10:40:28 +01:00
Ray
6ef1e1d938 new example: shaders_raymarching 2018-12-20 09:55:33 +01:00