Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I've created bindings for raylib 5.5 for c3-lang at https://c3-lang.org #4555

Merged
merged 11 commits into from
Dec 1, 2024

Conversation

devdad
Copy link
Contributor

@devdad devdad commented Nov 29, 2024

I've added url and info for raylib 5.0 and raylib 5.5 bindings for c3-lang

pbr implementation  includes rpbr.h and few shader files header only file, which self contain everything needed for pbr rendering. Few textures and one model of the car which is under free licence which is included inside basic_pbr.c example file  currently supported shader versions are 120 and 330 , version 100 has small issue which I have to resolve
I forgot unloading PBRMaterial
value was Vector4 at first but I found out it would be unclear for and users, so I change to have two Vector2 instead, but forgot to assign offset .
Changed size of textures from 2048x2048 to 1024x1024 and file name changed to shaders_basic_pbr.c ,
Added the function PBRModel PBRModelLoadFromMesh(Mesh mesh);
but GenMeshPlane(2, 2.0, 3, 3) culdn't be used because it crash once GenMeshTangents() is used with that plane mesh
set GLSL_VERSION            100

set precision highp float;
removed in keyword
fix for loop has to use only constant
changed to GLSL_VERSION            100
update glsl100 shader
set float  precision  to highp
removed keyword  in
change for loop tu use constant value  gives an error
changed to GLSL_VERSION            100
update glsl100 shader
set float  precision  to highp
removed keyword  in
change for loop tu use constant value  gives an error
removed rpbr.h
I've created raylib 5.5 binding for c3-Lang  https://c3-lang.org
@devdad devdad closed this Nov 29, 2024
@devdad devdad reopened this Nov 29, 2024
| [raybit](https://github.com/Alex-Velez/raybit) | **5.0** | [Brainfuck](https://en.wikipedia.org/wiki/Brainfuck) | MIT |
| [raybit](https://github.com/Alex-Velez/raybit) | **5.0** | [Brainfuck](https://en.wikipedia.org/wiki/Brainfuck) | MIT |
| [raylib-c3] (https://github.com/c3lang/vendor/tree/main/libraries/raylib5.c3l) | **5.0** | [C3] (https://c3-lang.org) | MIT |
| [raylib-c3] (https://github.com/c3lang/vendor/tree/main/libraries/raylib55.c3l) | **5.5** | [C3] (https://c3-lang.org) | MIT |
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably with latest version it is enough...

@raysan5 raysan5 merged commit 645f9e3 into raysan5:master Dec 1, 2024
27 checks passed
@raysan5
Copy link
Owner

raysan5 commented Dec 1, 2024

I'm merging and reviewing it...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants