Commit Graph

121 Commits

Author SHA1 Message Date
1841afad11 Refactor all #define SUPPORT_* into a config.h
That way, a user needs only to touch a single file to configure what
features raylib is built with.
Include guards are left out intentionally, because config.h should only
be included in source files, not headers.

Later on, config.h can also define the raylib version (#461).
2018-04-07 23:37:48 +02:00
a0127d8300 Corrected typo 2018-03-11 10:49:51 +01:00
Ray
077bef4286 Support 4 components mesh.tangent data
Added struct Vector4 for convenience
2018-02-24 12:31:32 +01:00
7caa3201d5 Improved pixel formats support
- Renamed enum TextureFormat to PixelFormat for consistency
- Added support for pixel format UNCOMPRESSED_R32
- Using GetPixelDataSize() where required
2018-01-06 13:43:48 +01:00
b19e155b34 Support UNCOMPRESSED_R32G32B32A32 texture format 2017-12-28 17:58:37 +01:00
e8bb53ed35 Corrected issue on OpenGL ES compilation 2017-12-20 12:35:12 +01:00
53ad53d051 Manually review previous PR 2017-12-15 13:44:31 +01:00
0e18b14605 added debug-event-markers for opengl so that you're able to set markers for renderdoc or other gpu debuggers what your program is currently doing 2017-12-14 11:44:48 +01:00
963551ee6e added possibility to get modelview matrix from rlgl to be able to send it to shaders 2017-12-14 11:43:06 +01:00
69c8fa409a fixed function declaration differ from implementation 2017-12-14 11:42:06 +01:00
02dd4d32b5 Allow custom distortion shader - IN PROGRESS - 2017-11-12 11:00:28 +01:00
7057d08369 Review VR functionality
To be more generic and configurable
2017-10-17 13:32:15 +02:00
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
e52032f646 Complete review of raymath
Now it should be coherent with OpenGL math standards
2017-07-21 17:19:28 +02:00
38d9fcb08e Moved some functions to raymath
Exposed some raymath useful functions to raylib API
2017-07-21 15:25:35 +02:00
980d9d4cd4 rlgl usable as standalone library 2017-07-21 10:42:57 +02:00
0dabb2708b Reorganized a couple of functions 2017-07-19 19:53:53 +02:00
d368403a13 Working on PBR materials, renamed some data 2017-07-19 10:09:34 +02:00
Ray
6546474fa4 Manual integration of material-pbr into develop 2017-07-17 00:33:40 +02:00
8ca8550739 Removed function reference 2017-07-08 14:22:48 +02:00
9f09f6f550 Rename enum LogType names...
...to avoid possible conflicting symbols
2017-07-02 12:35:13 +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
39732d04ec Comments review 2017-05-08 00:55:26 +02:00
Ray
d593bd0081 Some code tweaks 2017-04-30 13:03:31 +02:00
247da006ae Rename parameter 2017-04-22 22:35:04 +02:00
Ray
59652c75b4 Review some comments 2017-03-20 20:34:44 +01:00
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
836c1636a2 Remove lighting system from rlgl standalone header 2017-02-08 20:02:40 +01:00
Ray
f164ec80d6 Upload wave collector - GGJ17 game 2017-01-22 15:31:56 +01:00
852f3d4fd0 Review comments and formatting 2016-12-25 02:01:13 +01:00
Ray
f1bcfc1352 Corrected bug on GenTextureMipmaps()
texture.mipmaps value needs to be updated, so, texture must be passed by
reference instead of by value
2016-11-22 12:14:55 +01:00
bee283b12b Some tweaks around 2016-11-17 12:55:30 +01:00
6d1b712a96 Reviewed modules comments 2016-11-16 18:46:13 +01:00
9d3ad52160 Removed byte typedef 2016-11-15 19:15:25 +01:00
988d39029f Support textures filtering 2016-10-29 22:17:19 +02:00
4ff98f34bb Function to set texture parameters -IN PROGRESS- 2016-10-27 13:40:48 +02:00
d5e0f4e84e Added notes on vr tracking -> camera update 2016-10-17 17:02:33 +02:00
5fecf5c088 Review UpdateVrTracking() and rlglLoadRenderTexture() 2016-10-10 19:42:59 +02:00
36f20376e6 Redesigned lighting shader system 2016-09-05 20:15:21 +02:00
959a228815 Removed useless spacing 2016-08-16 11:09:55 +02:00
16ac468bdb Remove functions from user exposure 2016-08-06 19:30:41 +02:00
5ff9811ea8 Some code tweaks 2016-07-18 17:06:33 +02:00
55b9a2479a Expose Oculus Rift functionality directly 2016-07-16 22:41:13 +02:00
bfb5ffedda Added rlgl standalone sample 2016-07-16 19:25:15 +02:00
7cefbd8a94 Updated lighting system...
...to avoid dynamic conditions on for loop (lightsCount) on standard
shader, it seems GLSL 100 doesn't support that feature... on some GPUs
like RaspberryPi...
2016-07-06 20:33:46 +02:00
Ray
bc80174357 VR Functions renaming (for generic HMD device)
Stereo rendering has been moved again to Begin3dMode() and End3dMode(),
it has some limitations but makes more sense...
2016-07-06 00:54:38 +02:00
Ray
ee72654b55 Redesigned stereo rendering mechanism
Now it's easier for the user! Just init Oculus device and get stereo
rendering!
2016-07-04 01:29:23 +02:00
9127b5a57d Enable/Disable VR experience 2016-06-26 15:36:12 +02:00
8652e644dd Corrected bug on stereo rendering 2016-06-26 14:13:11 +02:00