Ray
8f05322263
Review example and screenshots
преди 5 години
raysan5
3aad221b1e
Review some shaders to work on GLSL 100
Tested on Raspberry Pi... Just note that platform is very limited by GPU...
преди 5 години
Industrious Nomad
a6db31c01e
updated RayMarching Demo ( #997 )
* Removed Unused Uniforms
uniform vec3 viewUp;
uniform float deltaTime;
* Removed Unused uniforms
uniform vec3 viewUp;
uniform float deltaTime;
* 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.
* Closer Match to original code
* Removed the PLATFORM_DESKTOP Define
преди 5 години
Ray
3fcf2ee19a
Example renamed
преди 5 години
Ray
bdcb16e7bb
Review PR and comments
преди 5 години
chriscamacho
a679b0ccc0
contributed simple shader example ( #973 )
Contributed simple shader example
преди 5 години
Ray
4b79f63d07
new example: shaders_fog
преди 5 години
Leandro Gabriel
89c16baf18
Replace tabs with spaces and update year of copyright notices ( #927 )
* Update year of copyright notices
* Fix mistake in comment
* Fix typo ("algorythms")
* Replace tabs with spaces
* Remove trailing whitespace and fix mistake in comment
* Fix ExportImageAsCode missing comment rectangle corner
* Replace tab with spaces
* Replace tabs with spaces
преди 5 години
Ray
81d8302d53
ADDED: shaders_basic_lighting
преди 5 години
Ray
87774a0a21
Review variables initialization
преди 5 години
Ray
b525039e0a
Review ALL examples
преди 5 години
Ray
c1594fa445
Tweaks
преди 6 години
Ray
970f1e8ff1
examples review
преди 6 години
Ray
ce87d2ced4
new example: shaders_eratosthenes
Contributed by ProfJski
преди 6 години
Ray
9fd410b8a8
Review shader to use provided texture coordinates
Now shader uses `fragTexCoord` that are the full screen texture coordinates normalized, instead of `gl_fragCoord`, the unnormalized screen coordinates
преди 6 години
Ray
f1ffb3f573
Review shaders for GLSL 100
преди 6 години
eggmund
eb7beb59b6
Ammended comment.
Also changed path to shader back to what it was originally.
преди 6 години
eggmund
a7c5e3cab7
Updating julia set example.
Now dividing by the zoom instead of multiplying (in the shader), so zoom works as expected. Also zoom increase/decrease is now scaled depending on the current zoom.
преди 6 години
Ray
998b4180e1
Update example!
преди 6 години
Ray
0b18133e46
Update shaders_julia_set.c
преди 6 години
Ray
d878a0aecb
Update shaders_julia_set.c
преди 6 години
Ray
424d3ca8d9
examples review
Redesigns, deletes and renames
Also noted authors propertly on contributed examples
преди 6 години
Ray
2edec8ae28
Some example tweaks
преди 6 години
Ray
6804c2189e
new examples: shaders_texture_waves
преди 6 години
hmmmmmmmm
aea3b2df65
Fixed another small comment error
преди 6 години
eggmund
c25154064d
Fixed small error in comments
преди 6 години
eggmund
49a49e492a
Added julia set shader example.
преди 6 години
Ray
2ddc4bacba
Example review
преди 6 години
Ray
129703fad1
new example: shaders_texture_drawing
преди 6 години
Ray
be6d237b9e
Review models examples
преди 6 години
raysan5
557456cace
Review window title
преди 6 години
Ray
55f8dbc755
WARNING: Redesigned SetShaderValue()
преди 6 години
Marco Lizza
0c5bee4c9a
Limiting FPS to 60 for uniformity with other examples.
преди 6 години
Marco Lizza
0fe56b1674
Adding basic palette-switching example using uniform arrays.
преди 6 години
Ray
788bb78989
Some tweaks
преди 6 години
Ray
6ef1e1d938
new example: shaders_raymarching
преди 6 години
Ray
8f95518858
Reviewed some examples to work on RPI
преди 6 години
Ray
ed269b8d9a
Review RenderTexture drawing usage
Now `BeginTextureMode()` does not clean buffers automatically, that behaviour has been changed because there could be some case (i.e. painting software) where texture buffer does not ned to be cleared; user is responsible of clearing buffers using `ClearBackground()`
преди 6 години
Jess Peter
f3d144bf0e
Convert window render sizes to floats
GLSL 1.10 is typesafe ([PDF specs](https://www.khronos.org/registry/OpenGL/specs/gl/GLSLangSpec.1.10.pdf ), page 22), so this shader will not load properly during build.
It's not a super important change, but I came across it while playing with the examples on my pi.
преди 6 години
Ray
a1d9c33995
Reviewed models and examples
преди 6 години
Ray
d573a5ad60
Removed dwarf 3d model
Replaced by medieval 3d assets
преди 6 години
Ray San
6045062a05
Renamed some functions
- Renamed Begin3dMode() --> BeginMode3D()
- Renamed Begin2dMode() --> BeginMode2D()
- Renamed End3dMode() --> EndMode3D()
- Renamed End2dMode() --> EndMode2D()
преди 7 години
Ray San
4cc12ef2b3
Review camera definition on examples
преди 7 години
raysan5
09228752ce
Review default shaders usage on loading
преди 7 години
Wilhem Barbier
7ef604fbf5
Store the default shaders
преди 7 години
Ray San
4fe8e05a7f
Review GLSL 120 shaders
Not tested, could have errors
преди 7 години
Ray
085779707f
Uploaded shaders for GLSL 120
преди 7 години
Ray
1375a616b2
Some examples code tweaks
преди 7 години
raysan5
9446746001
Corrected issues on examples
преди 7 години
raysan5
0fc1323c80
Renamed modelviewprojection matrix
преди 7 години