Ray
581bd0eb02
Remove trailing spaces
2021-04-18 23:50:32 +02:00
Ray
223091f44c
Review extensions issue on macOS
2021-04-18 20:33:49 +02:00
Ray
d4ccca81db
WARNING: REDESIGNED: rlLoadExtensions() #1295
...
Added config flag: SUPPORT_GL_DETAILS_INFO
2021-04-18 20:24:19 +02:00
Ray
45823a36eb
Added some OpenGL extensions comments
2021-04-14 21:07:04 +02:00
Ray
afb254b985
Update rlgl.h
2021-04-11 00:58:04 +02:00
Ray
d2cb628a66
Some defines simplification
2021-04-11 00:55:45 +02:00
Ray
6719c3a1cd
REVIEWED: OpenGL 2.1 compilation
2021-04-07 09:39:41 +02:00
Ray
68124599e1
Corrected issue on RPI
2021-04-06 21:39:54 +02:00
Ray
802ca161d3
REVIEWED: Some rlgl cleaning on unused types
2021-04-06 00:43:38 +02:00
raysan5
5fd441969d
REVIEWED: rlLoadShaderDefault()
...
Operate over global variable
2021-04-05 13:35:42 +02:00
raysan5
14aa29d18b
Update rlgl.h
2021-04-04 15:10:39 +02:00
raysan5
66f3434571
REDESIGNED: Shapes texture/rec moved to shapes module
2021-04-04 14:59:17 +02:00
raysan5
c21baf0d92
ADDED: GenMeshDefault() #1556
2021-04-02 15:56:35 +02:00
raysan5
ccdf7ff335
REDESIGN: Move GenTexture*() functions to PBR example #721
...
Removed functions from rlgl module.
2021-04-02 14:29:33 +02:00
raysan5
67dda62867
REVIEWED: GenTexture*() functions #721
...
Avoid RLGL data dependency to allow moving the functions somewhere else
2021-04-02 14:01:30 +02:00
raysan5
b54d96205f
Review libc dependency
2021-04-01 21:22:18 +02:00
raysan5
aed0fee2ca
Remove trailing spaces
2021-04-01 20:24:33 +02:00
raysan5
cdc3754449
ADDED: Support model normal matrix location #1691
2021-03-31 20:44:16 +02:00
raysan5
434a3a276d
REVIEWED: Define instancing API entry points for RPI
2021-03-31 18:41:03 +02:00
raysan5
98a2e16d4d
REVIEWED: RPI instancing checks #1679
2021-03-31 16:44:14 +02:00
raysan5
aaf0d8b839
REVIEWED: rlgl: Stereo render is working again
...
As a bonus, stereo render is compatible with mesh instancing now!
2021-03-28 21:35:58 +02:00
Maksymilian Mika
f38ced15e7
Fixing pointer arithmetic to avoid error [-Werror=pointer-arith] ( #1685 )
2021-03-27 07:54:44 +01:00
Ray
f9bab14fdb
REVIEWED: DrawMeshInstanced()
2021-03-26 00:12:29 +01:00
Ray
fb9a437f8a
REVIEWED: OpenGL 1.1 working again
2021-03-25 20:35:48 +01:00
Ray
cba412cc31
WARNING: BREAKING: rlgl redesign -WIP-
...
rlgl module has been completely redesigned to move Mesh/Material structures to [models] module. Still some work to do, broken elements:
- [models] OpenGL 1.1 mesh rendering: DrawMesh()
- [models] Mesh Instancing: DrawMeshInstanced()
- [models] Stereo rendering: DrawMesh()
- [models] GL_FLOAT, GL_UNSIGNED_INT exposed
- [models] GenMeshCustom()
- [rlgl] GenTexture*() functions removal?
2021-03-25 14:28:12 +01:00
Victor
c5b0a1f005
Fix activeTextureId to have MAX_BATCH_ACTIVE_TEXTURES elements instead of the hardcoded 4 ( #1674 )
2021-03-23 20:17:23 +01:00
Ray
3e6ee028e5
Update rlgl.h
2021-03-23 12:15:52 +01:00
Ray
6f5a4a9351
REVIEWED: rlgl_standalone usage
2021-03-23 11:51:09 +01:00
Ray
2ce28f75ad
WARNING: BREAKING: REDESIGNED: rlgl module
...
- Many functions renamed to follow rl*() convention
- Some internal functions exposed in the API
- Some functionality moved to other modules
- Reorganized all functions by categories
- Make sure it keeps working with OpenGL 1.1 and 2.1
2021-03-22 20:45:04 +01:00
Ray
c37f61d31f
REVIEWED: rlgl module #1523
2021-03-21 20:31:35 +01:00
Ray
ed4ca6a7f3
WARNING: BREAKING: rlgl module redesign -WIP-
...
- Some rlgl functions have been moved to core
- Some functions have been made internal to rlgl
- rlgl functions prefixed with rl*()
2021-03-21 01:29:31 +01:00
Ray
a76fcaba3e
BIG CHANGE: REDESIGNED: Vr device simulator #1582
...
Vr simulator has been moved to core module and completely redesigned. Now user is in charge of stereo-render fbo and also in full control of distortion shader. Code is a bit more complex but better aligned with other raylib examples.
2021-03-20 18:36:25 +01:00
Ray
9909068714
Removed trailing spaces
2021-03-19 19:43:44 +01:00
Ray
a1d9987e7c
WARNING: BREAKING: REVIEWED some enums naming
...
Now enum names are more consistent between them.
2021-03-19 13:19:54 +01:00
Ray
664fbb87f5
REVIEWED: Material params #1649
...
Just assigned a fixed memory size for custom Material parameters in case of being required, so we shouldn't worry about allocating/freeing them.
2021-03-18 13:57:53 +01:00
Ray
aba69146f2
Support instancing in OpenGL ES 2.0 if available
...
Checking for extension and enabling it if available
2021-03-17 13:56:00 +01:00
Ray
01e28263be
WARNING: VERY BREAKING CHANGE: Renamed some enum values for consistency
...
Some enums values have been renamed to be more consistent and also provide a more detailed description:
- ShaderLocationIndex: LOC_VERTEX_POSITION -> SHADER_SHADER_LOC_VERTEX_POSITION
- ShaderUniformDataType: UNIFORM_VEC2 -> SHADER_UNIFORM_VEC2
- MaterialMapType: MAP_ALBEDO -> MATERIAL_MAP_ALBEDO
- PixelFormat: UNCOMPRESSED_GRAYSCALE -> PIXELFORMAT_UNCOMPRESSED_GRAYSCALE
2021-03-14 11:05:51 +01:00
Ray
7ad1370193
Some naming tweaks
2021-03-04 20:22:58 +01:00
Ray
0b108c2087
Corrected bug
2021-03-03 19:49:10 +01:00
Ray
dfe797060a
WARNING: BREAKING: RENAMED: enums values
...
RENAMED: TextureFilterMode values
RENAMED: TextureWrapMode values
2021-03-03 19:47:37 +01:00
Ray
ab36fbf24a
Reviewed defines, try to avoid elif statements
2021-03-02 12:45:23 +01:00
Ray
01b3c97c42
Some misc tweaks
2021-03-02 02:03:52 +01:00
Ray
8df56c5843
REVIEWED: rlUnloadMesh()
2021-03-02 01:41:30 +01:00
Ray
c514431e79
REVIEWED: rlUnloadMesh()
2021-03-02 01:35:30 +01:00
Ray
2ff5fa73e9
REVIEWED: rlUnloadMesh() #1615
2021-03-02 00:34:10 +01:00
Jeffery Myers
0f10c44578
Fixes gl state after HDR texture functions. ( #1621 )
...
Updates skybox demo to show how to do both HDR and non HDR skyboxes
Co-authored-by: Jeffery Myers <JefMyers@blizzard.com >
2021-02-28 23:31:25 +01:00
Ray
58e4efbba8
Review bug on OpenGL 1.1
2021-02-26 13:40:43 +01:00
Ray
ef8318f5e3
[models] Move vboId ALLOC/FREE to rlgl module #1603
...
Actually, it seems more logical that rlgl takes care of OpenGL data than the models module...
Also, models module loaded vertex data is unloaded by models module.
2021-02-21 12:09:52 +01:00
Jeffery Myers
48a7cd3c87
[Examples] Fix typecast warnings in examples. ( #1601 )
...
* Fixing typecast warnings generated by visual studio 2019 in examples.
* Changes to fixes based on feedback
Co-authored-by: Jeffery Myers <JefMyers@blizzard.com >
2021-02-20 23:37:32 +01:00
raysan5
2b1ec5d8d2
Review some comments
2021-02-14 16:46:33 +01:00