Ray
59652c75b4
Review some comments
пре 8 година
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.
пре 8 година
Ray San
836c1636a2
Remove lighting system from rlgl standalone header
пре 8 година
Ray
f164ec80d6
Upload wave collector - GGJ17 game
пре 8 година
raysan5
852f3d4fd0
Review comments and formatting
пре 8 година
Ray
f1bcfc1352
Corrected bug on GenTextureMipmaps()
texture.mipmaps value needs to be updated, so, texture must be passed by
reference instead of by value
пре 9 година
raysan5
bee283b12b
Some tweaks around
пре 9 година
raysan5
6d1b712a96
Reviewed modules comments
пре 9 година
raysan5
9d3ad52160
Removed byte typedef
пре 9 година
raysan5
988d39029f
Support textures filtering
пре 9 година
raysan5
4ff98f34bb
Function to set texture parameters -IN PROGRESS-
пре 9 година
raysan5
d5e0f4e84e
Added notes on vr tracking -> camera update
пре 9 година
raysan5
5fecf5c088
Review UpdateVrTracking() and rlglLoadRenderTexture()
пре 9 година
raysan5
36f20376e6
Redesigned lighting shader system
пре 9 година
raysan5
959a228815
Removed useless spacing
пре 9 година
raysan5
16ac468bdb
Remove functions from user exposure
пре 9 година
raysan5
5ff9811ea8
Some code tweaks
пре 9 година
raysan5
55b9a2479a
Expose Oculus Rift functionality directly
пре 9 година
raysan5
bfb5ffedda
Added rlgl standalone sample
пре 9 година
raysan5
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...
пре 9 година
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...
пре 9 година
Ray
ee72654b55
Redesigned stereo rendering mechanism
Now it's easier for the user! Just init Oculus device and get stereo
rendering!
пре 9 година
raysan5
9127b5a57d
Enable/Disable VR experience
пре 9 година
raysan5
8652e644dd
Corrected bug on stereo rendering
пре 9 година
raysan5
71ab202295
Removed rlglInitGraphics(), integrated into rlglInit()
Redesigned rlgl usage:
- rlViewport() must be called by user
- Internal projection/modelview matrices must be setup by user
пре 9 година
raysan5
03d9583b94
Add oculus simulator (in case device is not detected)
пре 9 година
Ray
6062201e8f
Simplify Oculus example...
...to align it with standard raylib code. Final goal would be having the
same code work for every platform with no changes...
пре 9 година
raysan5
b01f5ff6a7
Starting work on VR simulator support
If Oculus device is not available or not initialized correctly,
simulated VR view is generated using stereo-rendering and distortion
пре 9 година
Ray
24c9b1f717
Improving Oculus Rift example...
Under design... looking for the easiest and most comprehensive way for
the user to use VR...
пре 9 година
Ray
4df7a0f2f8
Added support for OpenGL 2.1
пре 9 година
raysan5
3ce0228206
Move Oculus Rift support to rlgl module
пре 9 година
raysan5
c25b4cdc69
Move OpenGL extensions loading to rlgl
пре 9 година
Ray
ee795150fa
Updated some code
пре 9 година
raysan5
0bc71d84f8
Added functions to customize internal matrix
Internal modelview and projection matrices can be replaced before
drawing.
пре 9 година
Ray
17878550b1
Review heades usage
This is a first step toward a bigger project. Some modules could be
ported to header-only to be used as standalone.
пре 9 година
raysan5
d17a0cee1a
Review text formatting (spacing, tabs...)
пре 9 година
raysan5
302ec438dd
Removed colTint, tint color is colDiffuse
Tint color could be applied to colDiffuse... but what's the best way?
Replace it? Multiply by? A point to think about...
пре 9 година
raysan5
cac2a66deb
Improved library consistency
Functions renamed to improve library consistency
пре 9 година
victorfisac
b0a0c5d431
Added tint color attribute to material data type
It tints all fragments, ignores lighting. Useful for some features like
feedback (damage color, ...).
пре 9 година
victorfisac
f2d61d4043
Remove normal depth
Scaling normal depth (y axis) makes disappear the specular of
fragments... So I think it can be removed, it is not a very
useful/important attribute.
пре 9 година
victorfisac
2e26ce235d
Add Draw3DCircle function and update raylib and rlgl header
Draw3DCircle is useful to draw point lights radius.
пре 9 година
raysan5
ea5b00528b
Improved render to texture
Support render texture size different than screen size
пре 9 година
raysan5
d53b6f4381
Renamed shader variables (more generic names)
Now shader maps use a generic naming convention for any kind of texture
maps (not only diffuse, normal or specular). Useful for custom shaders.
пре 9 година
victorfisac
c320a21f2b
Add standard lighting (2/3)
- 3 light types added (point, directional, spot).
- DrawLights() function added using line shapes.
- Standard lighting example added.
- Removed useless struct variables from material and light.
- Fixed light attributes dynamic locations errors.
- Standard vertex and fragment shaders temporally added until rewrite it
as char pointers in rlgl.
TODO:
- Add normal and specular maps calculations in standard shader.
- Add control structs to handle which attributes needs to be calculated
(textures, specular...).
- Adapt standard shader to version 110.
- Rewrite standard shader as char pointers in rlgl.
пре 9 година
raysan5
dcf5f45f68
Add lighting system -IN PROGRESS-
Improved materials
пре 9 година
raysan5
7d1d9ff143
Support DYNAMIC_DRAW mesh loading
пре 9 година
raysan5
037edbaa13
Reorganize data for consistency
пре 9 година
raysan5
075f51e0a3
Simplified internal (default) dynamic buffers
пре 9 година
raysan5
4d78d27bd9
Updated structs Mesh and Shader
пре 9 година
raysan5
7ab008878a
Library redesign to accomodate materials system
пре 9 година