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
преди 9 години
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 години