luis605
eeda7a4b82
Added shaders_view_depth example to the build system
před 3 měsíci
luis605
e08fc8ab80
Added new example - [shader] render depth texture
před 3 měsíci
Jonathan Marler
611c43719f
Avoid divide by 0 in core_custom_frame_control example
před 3 měsíci
Jonathan Marler
ac17de5074
[build] remove examples/build.zig, incorporate into main build.zig
Removes the second build.zig in the examples directory and incorporates it
into the main build.zig. This gives the zig build system the data needed to
know if the raylib library needs to be rebuilt when running any example.
před 3 měsíci
Fabrizio Pietrucci
e140aca1b5
Increase zoom factor in `core_2d_camera.c`
This compensate for slower zoom speed due to log scaling
před 4 měsíci
Fabrizio Pietrucci
8b84c999d2
Use logarithmic zoom scaling in 2d camera zoom examples
před 4 měsíci
Aidon
513753c394
Converting int to char
Fixes warning: narrowing conversion caused by trying to convert int to unsigned char
před 4 měsíci
Amy Wilder
61a026f7ef
[examples] Reorganize some conditions to fix overlap bugs ( #4829 )
* Reorganize some conditions to fix overlap bugs
* Fix edge case where control point selection outlives mouse down
před 4 měsíci
sleeptightAnsiC
f430d72a8c
[examples] fix: use quotation marks when including raylib.h ( #4821 )
...so it will always prioritize local version of raylib instead of
system-wide installations, which is a huge problem when testing any
changes done locally to raylib as it might cause silent mismatch issues.
There were only 4 examples affected by this issue which were using
`#include <raylib.h>`. Other examples use proper `#include "raylib.h"`
Fixes: https://github.com/raysan5/raylib/issues/4820
před 4 měsíci
Ray
557d071fa2
Reviewed shader loading message
před 4 měsíci
jordan4ibanez
7cae259a6d
Reviewed shaders comment wording ( #4793 )
před 4 měsíci
Destructor17
27af359d1c
[rlgl] Preserve texture on mode switching ( #4364 )
* Fix textures on draw mode switch
* formatting fix
* ident
před 4 měsíci
Ray
256953957f
Update Makefile
před 4 měsíci
Jay Rhoden
015ab9df18
Amend comment to explain what LoadCodepoints is doing. ( #4787 )
As a beginner, it was not clear to me what the purpose of the LoadCodepoints function is. I am trying to help past me.
před 4 měsíci
Colleague Riley
c34ef35433
Update RGFW and ensure it's consistent with the GLFW backend ( #4783 )
* add PLATFORM_WEB_RGFW
* fix some bugs
* fix web_rgfw gamepad
* send fake screensize
* fix gamepad bugs (linux) | add L3 + R3 (gamepad)
* fix?
* update RGFW (again)
* update raylib (merge)
* fix xinput stuff
* delete makefile added by mistake
* update RGFW
* update RGFW (rename joystick to gamepad to avoid misunderstandings
* update RGFW (fix X11 bug)
* update RGFW
* use RL_MALLOC for RGFW
* update RGFW (fixes xdnd bug)
* fix some formating
* Update RGFW
* update RGFW
* undo change
* undo change
* undo change
* undo change
* have .scroll be 0 by default
* update RGFW
* update RGFW
* update RGFW
* fix year
* fix wasm key event bug
* update RGFW
* link to IOKit
* update
před 4 měsíci
Thomas Anderson
a1de60f3ba
added missing file ( #4754 )
před 5 měsíci
Ray
861ebafe62
Update shaders_mesh_instancing.c
před 5 měsíci
Anstro Pleuton
7bfc8e8ca7
[example] Add shaders_rounded_rectangle example ( #4719 )
* Add shaders_rounded_rectangle example
* Minor tweaks to example template (add star, more)
* Combine shaders
* Fix changes after review
---------
Co-authored-by: Anstro Pleuton <anstropleuton@github.com>
před 5 měsíci
Ray
2c50da9a6a
REVIEWED: -sASSERTIONS usage by linker #4717
před 5 měsíci
Anstro Pleuton
773e3f5f9f
Update more examples inconsistencies ( #4711 )
Co-authored-by: Anstro Pleuton <anstropleuton@github.com>
před 6 měsíci
Anstro Pleuton
945f181f1d
[examples] Update examples to be consistent ( #4699 )
* Update examples inconsistencies
* Happy new years, examples!
* Missed one inconsistency
* Update final few examples inconsistencies
---------
Co-authored-by: Anstro Pleuton <anstropleuton@github.com>
před 6 měsíci
Anthony Carbajal
27e530eb18
update examples with difficulty stars ( #4694 )
* update examples with difficulty stars
* manual fix script issues
* manual fix script issues
před 6 měsíci
Ray
7c7b087efb
REVIEWED: example: `shaders_deferred_render` -WIP-
Not working but shader compiles and example runs... not sure if deferred rendering could be supported in OpenGL ES 2.0.
před 6 měsíci
Ray
7b570bdfdd
Update models_point_rendering.c
před 6 měsíci
Eike Decker
5c1cce28a7
Using Module provided canvas id for event binding ( #4690 )
This change is replacing the hardcoded "#canvas" element references in
rcore_web to allow using canvas elements that use different names
(which is necessary when using multiple canvas elements on one page).
Also adding a cursor hiding example to mouse example.
před 6 měsíci
Ray
cfbba79bd3
REVIEWED: example: `models_textures_tiling` shaders
před 6 měsíci
Ray
fddfb58f85
REVIEWED: Potential shader issues
před 6 měsíci
Ray
af163ba22a
REVIEWED: example: `shaders_julia_set`
před 6 měsíci
Ray
da5a868e2a
REMOVED: example: `core_gamepad_info`
před 6 měsíci
Ray
2f6230e366
Formatting review and examples review
před 6 měsíci
Ray
4bceddd4de
ADDED: example: `models_tesseract`
před 6 měsíci
Ray
a1896c7a90
REVIEWED: Code/Web-Makefile formatting
před 6 měsíci
Ray
8e450e4446
Reviewed shaders formating to follow raylib coding conventions
před 6 měsíci
Ray
62d8969a56
Reviewed shader formating
před 6 měsíci
veins1
08b089f620
Reviewed shaders_deferred_render ( #4676 )
Fixed: g-buffer textures binding
Fixed: Clearing screen with white would leak onto g-buffer textures
Reviewed comments
před 6 měsíci
Hakunamawatta
43dbaf21e7
[examples] Fix broken link ( #4674 )
před 6 měsíci
rexept
2f95e8382b
typo fix ( #4656 )
před 6 měsíci
Peter0x44
0f6e85a975
[build] CMake: Don't build examples using audio if audio is disabled ( #4652 )
před 6 měsíci
Ray
fa0eada61a
Update year to 2025
před 6 měsíci
Jeffery Myers
f355d6f1db
Transform the vertex normals by the animated matrix ( #4646 )
před 6 měsíci
Johannes
75b6b825df
using addCMacro instead of defineCMacro ( #4620 )
Co-authored-by: Johannes Rønning <johannes@picterus.com>
před 6 měsíci
Le Juez Victor
6eb1206660
fix `shaders_deffered_render.c` for OpenGL ES 3 ( #4617 )
This fixes an incomplete framebuffer issue due to the use of a texture format not supported in ES 3.
This commit also adds more information on how to manage deferred rendering.
před 7 měsíci
Colleague Riley
58004723d8
[rcore][RGFW] Add new backend option: `PLATFORM_WEB_RGFW` and update RGFW ( #4480 )
* add PLATFORM_WEB_RGFW
* fix some bugs
* fix web_rgfw gamepad
* send fake screensize
* fix gamepad bugs (linux) | add L3 + R3 (gamepad)
* fix?
* update RGFW (again)
* update raylib (merge)
* fix xinput stuff
* delete makefile added by mistake
* update RGFW
* update RGFW (rename joystick to gamepad to avoid misunderstandings
* update RGFW (fix X11 bug)
* update RGFW
* use RL_MALLOC for RGFW
* update RGFW (fixes xdnd bug)
* fix some formating
před 7 měsíci
Ray
de6c09ee7a
WARNING: REVIEWED: Use `libraylib.web.a` naming on PLATFORM_WEB
This change allows to have in same directory (currently `raylib/src`) two raylib build versions: Desktop and Web
před 7 měsíci
Michael
d2cd2a0152
[rlgl][rmodels] Add instranceTransform shader location index #4538 ( #4579 )
před 7 měsíci
Asdqwe
93a67417b3
Fix examples Makefile PLATFORM define ( #4582 )
před 7 měsíci
danil
2820fcc29e
[examples] improve input_virtual_controls example ( #4584 )
před 7 měsíci
Ray
6fbf08cc1f
Update pbr.fs
před 7 měsíci
Ray
f9cf684356
Update pbr.vs
před 7 měsíci
Ray
698bfc48fe
Update pbr.fs
před 7 měsíci