Commit Graph

1441 Commits

Author SHA1 Message Date
Nikolas
7fedf9e0b8
[rtextures/rlgl] Load mipmaps for cubemaps (#4429)
* [rlgl] Load cubemap mipmaps

* [rtextures] Only generate mipmaps that don't already exist

* [rtextures] ImageDraw(): Implement drawing to mipmaps

* [rtextures] Load cubemap mipmaps
2024-10-26 12:09:38 +02:00
Asdqwe
91a4f04794
Use mingw32-make for Windows (#4436) 2024-10-26 11:39:24 +02:00
Ray
22c77d17b7 REVIEWED: WebGL2 (OpenGL ES 3.0) backend flags (PLATFORM_WEB) #4330 2024-10-26 00:51:37 +02:00
Ray
7ac36e20cd Update Makefile.Web 2024-10-25 23:55:31 +02:00
Asdqwe
8b36253e2f
[build] [web] Fix examples Makefile for PLATFORM_WEB (#4434)
* Fix examples Makefile for PLATFORM_WEB

* Replace shell with assignment operator

* Replace tab with spaces
2024-10-25 23:47:55 +02:00
Jeffery Myers
f03f093909
Add input_virtual_controls to MSVC projects (#4433)
Fix input_virtual_controls example to use correct default font sizes
2024-10-25 09:47:04 +02:00
Jeffery Myers
728ccc96bc
Use the vertex color as part of the base shader in GLSL330 (#4431) 2024-10-24 23:49:30 +02:00
IcyLeave6109
15f6c47f07
Use free camera in model shader example (#4428) 2024-10-24 17:49:47 +02:00
Ray
6ff0b03629 REVIEWED: UpdateModelAnimationBoneMatrices() comments 2024-10-24 12:46:02 +02:00
Ray
b0140b876b REVIEWED: GPU skninning on Web, some gotchas! #4412 2024-10-24 12:25:05 +02:00
Ray
eb04154c98 Update Makefile 2024-10-24 01:35:44 +02:00
Ray
de6487b177 Merge branch 'master' of https://github.com/raysan5/raylib 2024-10-23 23:28:08 +02:00
Ray
cd845368d8 Update skinning.fs 2024-10-23 23:28:01 +02:00
Asdqwe
157ee79a8e
Add drawing for generic gamepad on core_input_gamepad example (#4424) 2024-10-23 20:31:57 +02:00
Asdqwe
fe6da67066
[examples] Add deadzone handling to core_input_gamepad example (#4422)
* Add deadzone handling to core_input_gamepad example

* Rename variables
2024-10-23 16:31:27 +02:00
Asdqwe
75a4c5bf20
Update core_input_gamepad example (#4416) 2024-10-23 00:28:20 +02:00
Ray
79e2be68c2 Reviewed skinning shaders #4412 2024-10-23 00:20:59 +02:00
Ray
b2dca724c7 REVIEWED: skinning shader for GLSL 100 #4412 2024-10-22 10:41:43 +02:00
Anthony Carbajal
fe66bfb785
moved update out of draw area (#4413) 2024-10-22 10:31:44 +02:00
Anthony Carbajal
680238689b
removed extra update command (#4401) 2024-10-21 01:03:01 +02:00
Ray
1effe92129 WARNING: REMOVED: SVG files loading and drawing, moving it to raylib-extras 2024-10-10 20:37:46 +02:00
Magnus Oblerion
74ce90ce67
[example] Input virtual controls example (#4342)
* Add files via upload

* Update core_input_gamepad_virtual.c

* Add files via upload

* Update and rename core_input_gamepad_virtual.c to core_virtual_Dpad.c

* Update and rename core_virtual_Dpad.c to core_input_virtual_controls.c

* Delete examples/core/core_input_gamepad_virtual.png

* Add files via upload

* Update Makefile

* Update Makefile.Web

* Update README.md

* Update README.md

* Create core_input_virtual_controls.vcxproj

* Delete projects/VS2022/examples/core_input_virtual_controls.vcxproj
2024-10-06 15:47:47 +02:00
Ashley Chekhov
20ce8ba046
Typo fix (#4356)
Seemed to be a typo. Hope this helps.
2024-10-04 11:04:26 +02:00
Jeffery Myers
0e7bcd5639
[MODELS] Disable GPU skinning for MacOS platform (#4348)
* Update raylib_api.* by CI

* Disable GPU skinning on MacOS
Add GPU skinning example to MSVC Projects.

* Update raylib_api.* by CI

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-30 12:10:02 +02:00
Daniel Holden
86ead96263
[rmodels] Optional GPU skinning (#4321)
* Added optional GPU skinning

* Added skinned bone matrices support for different file formats.

* Moved new shader locations to end of enum to avoid breaking existing examples. Added gpu skinning on drawing of instanced meshes.

* Added GPU skinning example.

* Removed variable declaration to avoid shadowing warning.
2024-09-20 17:30:37 +02:00
Tchan0
8dbf371244
Examples makefiles: align /usr/local with /src Makefile (#4286)
* align /usr/local with src Makefile

Align /usr/local with the /src Makefile, where it can be overriden.

* /usr/local: allow override

align /usr/local with the /src Makefile, where it can be overriden
2024-08-25 11:23:08 +02:00
Ray
414133dbe7 Update models_point_rendering.c 2024-08-24 18:56:06 +02:00
Reese Gallagher
7bde76ca2c
[rmodels] More performant point cloud rendering with DrawModelPoints() (#4203)
* Added the ability to draw a model as a point cloud

* Added example to demonstrate drawing a model as a point cloud

* polished the demo a bit

* picture for example

* adhere to conventions for example

* update png to match aspect ratio

* minor changes

* address code convention comments

* added point rendering to makefiles

* added point rendering to readme and renumbered examples

* comment formatting

---------

Co-authored-by: Reese Gallagher <re325479@ucf.edu.com>
Co-authored-by: Ray <raysan5@gmail.com>
2024-08-24 18:42:38 +02:00
Ray
039df36f4b REVIEWED: Automation events mouse wheel #4263 2024-08-20 19:13:18 +02:00
Anthony Carbajal
418b878053
[Examples] set FPS to 60 (#4235)
* set FPS to 60

* remove extra commented lines
2024-08-10 20:07:23 +02:00
Asdqwe
46cb6af437
Fix core_input_gamepad_info example so all buttons are displayed within the window (#4241) 2024-08-09 19:03:14 +02:00
Anthony Carbajal
e4529ff8f9
update text input box (#4229) 2024-08-09 09:18:00 +02:00
Anthony Carbajal
3c5bdae7ab
update shapes bouncing ball (#4226) 2024-08-09 09:16:05 +02:00
Anthony Carbajal
06aeb21429
update shaders basic pbr (#4225) 2024-08-09 09:15:07 +02:00
Anthony Carbajal
85c6489d81
update models box collisions (#4224) 2024-08-09 09:12:26 +02:00
Anthony Carbajal
243801c2d1
update text writing anim (#4230) 2024-08-09 09:07:56 +02:00
Anthony Carbajal
070c1c9d63
update examples missing unloadtexture (#4234) 2024-08-09 09:03:27 +02:00
Anthony Carbajal
5233b80fb7
update raygui (#4238) 2024-08-09 08:55:16 +02:00
Jeffery Myers
9ef678d90a
Fix warnings (#4239)
* Update raylib_api.* by CI

* Fix typecast warnings

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-09 08:54:22 +02:00
kai-z99
97c02b2425
[examples] Fix some examples (#4211)
* Add text

* small typo
2024-08-07 01:05:53 +02:00
Ray
db8b199363 Reviewed shader 2024-08-06 18:32:14 +02:00
CDM15y
b44b759b8f
[examples][shaders_raymarching] Add raymarching.fs for GLSL120 (#4183)
* Create raymarching.fs

* Update raymarching.fs

* Update raymarching.fs

* Update raymarching.fs

Remove `fragColor` as it is unused

Move the license to the top of the code to improve readability.
2024-08-06 18:30:15 +02:00
Anthony Carbajal
4b84b5563e
Update audio mixed processor (#4214)
* updated audio mixed processor

* remove float cast, better parenthesis
2024-08-06 18:29:10 +02:00
Ray
b657001e0d REVIEWED: shaders_vertex_displacement 2024-08-04 22:06:20 +02:00
Alex ZH
43b0c9410e
[examples] Add new example: shaders_vertex_displacement (#4186)
* shaders-vertex_displacement init

* implement simulation of wave in ocean

* update examples/README & add some comments

* update comments

* add gl100 shaders
2024-08-04 21:58:26 +02:00
Anthony Carbajal
6595bab8ff
update make for examples (#4209) 2024-08-04 21:45:50 +02:00
CDM15y
2d94d8d06d
[examples] Fix PBR and Shadowmap example shaders for GLSL 1.20 (#4167)
* Update pbr.fs

remove presicion mediump float because it is for GLES, and not desktop GL

* Fix shadowmap.fs

also suffers the same problem as pbr.fs
2024-07-20 10:42:55 +02:00
Ray
9764fef262 Update models_billboard.c 2024-07-07 21:02:35 +02:00
bohonghuang
6dd2a0e645
[rmodels] Consistent DrawBillboardPro with DrawTexturePro (#4132)
* [rmodels] Re-implement `DrawBillboardPro`

* [rmodels] Add comments to `DrawBillboardPro`

* [rmodels] Make `DrawBillboardPro` consistent with `DrawTexturePro`

* Update raylib_api.* by CI

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-07 20:27:51 +02:00
Ray
c95b2e88b7 Example review 2024-07-04 11:12:20 +02:00