raysan5
56bd9da07c
Update Oculus sample (will be moved soon)
9 vuotta sitten
Ray
ee795150fa
Updated some code
9 vuotta sitten
raysan5
4bc339ea4e
Updated Oculus sample
9 vuotta sitten
raysan5
8f91ed81c5
Updated Oculus sample to Oculus SDK 1.4
Still working on the sample but almost finished. Some rlgl internals
redesign required and it will be ready!
9 vuotta sitten
raysan5
ba60918eaa
Updated Oculus sample
Now GLFW3 windows/context creation works ok and a sample red rectangle
has been drawn using rlgl. Next step is working in tracking
position/orientation maths and try to get a simple 3d scene...
9 vuotta sitten
raysan5
173529e048
Oculus SDK 1.3 + GLFW3 sample -NOT WORKING-
9 vuotta sitten
raysan5
2e5d898443
Corrected bug with old FBO struct
9 vuotta sitten
raysan5
284eaf1576
Use Depth Texture on OpenGL 3.3
9 vuotta sitten
raysan5
aa22d97983
Simplified texture flip and added comments
9 vuotta sitten
raysan5
0133917bf9
Correct detail
9 vuotta sitten
Ray
b6cec214bd
Unified internal shader to only one
Only defaultShader required, set default value for vertex color
attribute if not enabled and fragColor uniform
9 vuotta sitten
raysan5
a66c8531d6
Some code simplifications
9 vuotta sitten
raysan5
06a8d7eb06
Remove old postprocessing system
9 vuotta sitten
raysan5
66b096d978
Added support for render to texture (use RenderTexture2D)
Now it's possible to render to texture, old postprocessing system will
be removed on next raylib version.
9 vuotta sitten
raysan5
956a6e6f77
Corrected bug and comments on model unloading
9 vuotta sitten
raysan5
ebc2b9a286
Improved windows resizing system...
...despite not being enabled on GLFW3
9 vuotta sitten
raysan5
5e45c3c824
Redesign to work as standalone
Redesigned to work as standalone and support fordward-compatible context
(shaders review)
9 vuotta sitten
Ray
e2ba22ec59
Improved 2D-3D drawing
Depth test disabled for 2D and only used on 3D; consequently LINES vs
TRIANGLES vs QUADS buffers drawing order maters... but blending also
works ok.
9 vuotta sitten
raysan5
c9d22c7a14
Redesign to use Material type -IN PROGRESS-
Requires Shader access functions review
9 vuotta sitten
raysan5
4476a9e241
Review rlglUnproject() system
9 vuotta sitten
raysan5
04caf1c262
Corrected memory leak
9 vuotta sitten
Ray
0dfc7fffff
Removed a couple of TODOs
9 vuotta sitten
raysan5
823abf666e
Reviewed code TODOs
9 vuotta sitten
raysan5
fca83c9ff8
Solve bug on matrix multiply order for scale and rotation
9 vuotta sitten
Ray
2ef9552454
WARNING message shortened
9 vuotta sitten
Ray
646f1c3f71
Some formating tweaks
9 vuotta sitten
Ray
df5c64d0be
Functions parameters reorganize: Axis and Angle
sin(), cos() functions cached and replaced by float c99 versions sinf(),
cos()
9 vuotta sitten
raysan5
99f99bea47
Simplified shader matrix uniforms
9 vuotta sitten
raysan5
4e57bd1f18
Replaced GLEW by GLAD
Removed GLEW external dependency, now it works with GLAD
Kept GLEW path, just in case... detected weird behaviour when testing
with gDEBugger
9 vuotta sitten
raysan5
23d66e9b6f
Move extensions loading to core module
9 vuotta sitten
raysan5
efa1c96d19
Adapted raymath as single header library
Added support for single header implementation and also inline functions
support
9 vuotta sitten
raysan5
fd05d3e353
Rename VertexData struct to Mesh
Reviewed vertex type variables
9 vuotta sitten
raysan5
3b4d8442e0
Corrected some float values
9 vuotta sitten
raysan5
fb6ef2c2f4
Vertex shaders optimization
9 vuotta sitten
raysan5
5e7686695f
Review Light/Material system
Simplified for the user (more intuitive and clear)
Removed lighting module dependency
9 vuotta sitten
raysan5
e5a56fa985
Change drawing order to avoid artifacts with...
... transparent elements
9 vuotta sitten
raysan5
7f2e67e924
Simplified MatrixMultiply() function
9 vuotta sitten
raysan5
891c4a458a
Matrix variables renaming
9 vuotta sitten
raysan5
95da97fa74
Fixed bug: rlglGenerateMipmaps()
9 vuotta sitten
victorfisac
1bcb5ddd50
Added lighting engine module
- New lighting engine module which contains new data types Light and
Material. These data types and functions facilitates making a basic 3D
iluminated program with a light and a model.
- Added lighting engine module example (currently included in raylib.h;
it might be compiled by separate and include lighting.h in game source C
file).
- Corrected some opengl defines control structures and added some TODO
to fix raylib-opengl 1.1 source build (note: now source can be compiled
without errors, but rlglReadPixels() won't work properly).
Note: most of functions of phong version 330 shader are not in v100
shaders, so I couldn't write a version 100 phong shader. These functions
are included from version 150.
10 vuotta sitten
victorfisac
4db2da9185
Added new matrix location points and extra functions
- New model and view transformation matrix added, useful for shaders.
Modelview matrix not deleted to keep opengl 1.1 pipeline compatibility.
- New extra function added DrawModelWiresEx() to set a rotation and
scale transformations to a wire model drawing.
- Other writing and little audio.c bug fixed.
10 vuotta sitten
Ray
a6f5a0339a
Corrected bug
10 vuotta sitten
Ray
88e1fd9530
Added texture retrieval support on OpenGL ES 2.0
Updated functions:
Image GetTextureData(Texture2D texture);
void *rlglReadTexturePixels(Texture2D texture);
10 vuotta sitten
Ray
5208d57f1e
Corrected alpha issue on screenshots taken
10 vuotta sitten
Ray
76024b5036
Added some texture functionality (view details)
LoadTextureEx() - Simplified parameters
UpdateTexture() - Added, allows updating GPU texture data
10 vuotta sitten
Ray San
d1f099374c
Added support for s3tc compression on web
10 vuotta sitten
Ray
8c117cfb57
Reviewed NPOT messages and usage
10 vuotta sitten
raysan5
11a8dacb0f
Multiple code changes:
- Renamed function rlEnableFBO() -> rlEnablePostproFBO()
- Defined struct FBO
- Moved FBO creation to function: rlglLoadFBO()
- Reviewed rlglReadTexturePixels(), trying to support OpenGL ES -IN
PROGRESS-
10 vuotta sitten
Ray
6ffb3c72fb
Solved bug with depth when drawing...
...shapes based on LINES, TRIANGLES and QUADS. Now the calling order of
the drawing functions is respected!
10 vuotta sitten
raysan5
ef1f9fe450
Added strdup() function replacement
strdup() is not a C99 function (it's POSIX), not available in emscripten
10 vuotta sitten