Commit Graph

255 Commits

Author SHA1 Message Date
raysan5 09228752ce Review default shaders usage on loading 2017-11-12 10:33:44 +01:00
Wilhem Barbier 7ef604fbf5 Store the default shaders 2017-11-09 20:47:22 +01:00
Ray San 2f024dbfef Corrected possible issue on FBO creation
USE_DEPTH_RENDERBUFFER on OpenGL 2.1
2017-11-06 13:58:11 +01:00
Ray San 81518ccd13 Corrected issue with shader locations init
On RPI, after latest drivers update, models were not rendered properly
cause of that...
2017-11-06 13:41:13 +01:00
Wilhem Barbier 879c2f484b SetShaderValue take const pointer 2017-11-05 21:57:29 +01:00
Ray aa6a1b4283 Corrected issue with missing defines 2017-11-05 09:58:25 +01:00
Ray d43af4918b Improve textures support for OpenGL 2.1 2017-11-04 16:57:46 +01:00
Ray San 415e7e972c Review some issues, view description
- Review RPI compilation (core_drop_files not supported)
- Review ImageFormat(), some issues
- GetTextureData() reviewed for RPI
2017-10-30 13:51:46 +01:00
Ray San ab01cd45bc Review rlReadTexturePixels()
Improve second option to retrieve texture data from fbo...

Still requires some testing...
2017-10-25 12:46:26 +02:00
Ray San 31c8c86d8e Comment tweak...
...while reviewing GetTextureData() functionality on OpenGL ES 2.0
2017-10-25 12:33:44 +02:00
Ray San 7057d08369 Review VR functionality
To be more generic and configurable
2017-10-17 13:32:15 +02:00
Ray San 412c52499a Reverted change that breaks 3D drawing
It should be reviewed more carefully...
2017-10-04 12:13:32 +02:00
Ray San ddea9d68bf Review VR simulator
Requires some work, distortion shader could be move out of raylib to
example code...
2017-10-04 12:11:40 +02:00
Ray 2068037417 Code tweak 2017-09-26 00:51:31 +02:00
Ray ff9b486ebe Removed matrix resetting...
to emulate OpenGL funcionality
2017-09-22 13:53:29 +02:00
Ray 1d91a46008 Corrected out-of-bounds array issue 2017-09-13 22:23:24 +02:00
raysan5 0fc1323c80 Renamed modelviewprojection matrix 2017-08-25 01:43:55 +02:00
raysan5 6369b47f11 Force OpenGL 3.3 on OSX if selected OpenGL 2.1 2017-08-04 19:18:55 +02:00
raysan5 eeca607506 Review transforms to match OpenGL 1.1 2017-08-04 18:34:51 +02:00
Ray 2a263f7b5f Corrected compilation on OpenGL ES 2.0 2017-07-28 19:59:04 +02:00
raysan5 a766e2c480 Updated Vector math to new naming 2017-07-22 22:15:50 +02:00
raysan5 cbb134946c Corrected GetMouseRay() and rlUnproject()
Now it works great with reviewed maths
2017-07-22 11:02:40 +02:00
raysan5 00d2768bc9 Corrected bug on MatrixPerspective()
Some other tweaks...
2017-07-22 10:35:49 +02:00
raysan5 e52032f646 Complete review of raymath
Now it should be coherent with OpenGL math standards
2017-07-21 17:19:28 +02:00
raysan5 38d9fcb08e Moved some functions to raymath
Exposed some raymath useful functions to raylib API
2017-07-21 15:25:35 +02:00
raysan5 980d9d4cd4 rlgl usable as standalone library 2017-07-21 10:42:57 +02:00
raysan5 2679c4ae9b Review mesh loading and textures generation 2017-07-21 09:34:09 +02:00
raysan5 63fd96354e Simplify a bit GenTexture*() functions
Still shader dependant, locations set should be moved out
2017-07-20 14:27:59 +02:00
raysan5 52cd5c6324 Corrected some issues
Corrected compilation for OpenGL 1.1
Review mesh data uploading to GPU
2017-07-20 12:26:25 +02:00
raysan5 0dabb2708b Reorganized a couple of functions 2017-07-19 19:53:53 +02:00
raysan5 76c6f0b1e6 Working on PBR system
Moved PBR material loading to example, right decision?
2017-07-19 18:55:32 +02:00
raysan5 d368403a13 Working on PBR materials, renamed some data 2017-07-19 10:09:34 +02:00
raysan5 e893f3629e Corrected some issues 2017-07-17 12:02:46 +02:00
Ray 6546474fa4 Manual integration of material-pbr into develop 2017-07-17 00:33:40 +02:00
raysan5 9f09f6f550 Rename enum LogType names...
...to avoid possible conflicting symbols
2017-07-02 12:35:13 +02:00
Ray 93e2fd8ea1 Some tweaks 2017-05-10 19:37:48 +02:00
Ray 50c887cb0a Support HDR R32G32B32 float textures loading 2017-05-08 12:31:47 +02:00
Ray 822c2ddad5 Some defines tweaks for consistency 2017-05-08 02:47:44 +02:00
Ray d593bd0081 Some code tweaks 2017-04-30 13:03:31 +02:00
raysan5 247da006ae Rename parameter 2017-04-22 22:35:04 +02:00
Ray 35172430c6 Added SUPPORT_VR_SIMULATOR flag 2017-04-18 11:49:02 +02:00
Ray fdf8501e81 Improve vr support and simulator 2017-04-05 00:02:40 +02:00
Ray 5387b45431 Working on configuration flags 2017-03-25 12:01:01 +01:00
Ray 974a6d4031 Corrected bug 2017-03-21 13:21:07 +01:00
Ray 59652c75b4 Review some comments 2017-03-20 20:34:44 +01:00
raysan5 5d1f661661 Remove Oculus support from code
Moved to custom example, now raylib only supports simulated VR
rendering.
Oculus code was too device dependant... waiting for OpenXR.
2017-03-14 01:05:22 +01:00
Ray 05cff44d0a Improved modules description -IN PROGRESS-
Working in modules configuration flags...
2017-02-16 00:50:02 +01:00
Ray a08117155d Init memory for screenshot to zero 2017-02-01 00:28:28 +01:00
Ray c85dfd4bc6 Remove unecessary spaces... 2017-01-28 23:02:30 +01:00
Ray 37a64df7b9 Move lighting system out of raylib
Lighting is implemented as a raylib example now
2017-01-27 23:03:08 +01:00