raysan5
173529e048
Oculus SDK 1.3 + GLFW3 sample -NOT WORKING-
9 years ago
raysan5
2e5d898443
Corrected bug with old FBO struct
9 years ago
raysan5
284eaf1576
Use Depth Texture on OpenGL 3.3
9 years ago
raysan5
aa22d97983
Simplified texture flip and added comments
9 years ago
raysan5
0133917bf9
Correct detail
9 years ago
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 years ago
raysan5
a66c8531d6
Some code simplifications
9 years ago
raysan5
06a8d7eb06
Remove old postprocessing system
9 years ago
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 years ago
raysan5
956a6e6f77
Corrected bug and comments on model unloading
9 years ago
raysan5
ebc2b9a286
Improved windows resizing system...
...despite not being enabled on GLFW3
9 years ago
raysan5
5e45c3c824
Redesign to work as standalone
Redesigned to work as standalone and support fordward-compatible context
(shaders review)
9 years ago
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 years ago
raysan5
c9d22c7a14
Redesign to use Material type -IN PROGRESS-
Requires Shader access functions review
9 years ago
raysan5
4476a9e241
Review rlglUnproject() system
9 years ago
raysan5
04caf1c262
Corrected memory leak
9 years ago
Ray
0dfc7fffff
Removed a couple of TODOs
9 years ago
raysan5
823abf666e
Reviewed code TODOs
9 years ago
raysan5
fca83c9ff8
Solve bug on matrix multiply order for scale and rotation
9 years ago
Ray
2ef9552454
WARNING message shortened
9 years ago
Ray
646f1c3f71
Some formating tweaks
9 years ago
Ray
df5c64d0be
Functions parameters reorganize: Axis and Angle
sin(), cos() functions cached and replaced by float c99 versions sinf(),
cos()
9 years ago
raysan5
99f99bea47
Simplified shader matrix uniforms
9 years ago
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 years ago
raysan5
23d66e9b6f
Move extensions loading to core module
9 years ago
raysan5
efa1c96d19
Adapted raymath as single header library
Added support for single header implementation and also inline functions
support
9 years ago
raysan5
fd05d3e353
Rename VertexData struct to Mesh
Reviewed vertex type variables
9 years ago
raysan5
3b4d8442e0
Corrected some float values
9 years ago
raysan5
fb6ef2c2f4
Vertex shaders optimization
9 years ago
raysan5
5e7686695f
Review Light/Material system
Simplified for the user (more intuitive and clear)
Removed lighting module dependency
9 years ago
raysan5
e5a56fa985
Change drawing order to avoid artifacts with...
... transparent elements
9 years ago
raysan5
7f2e67e924
Simplified MatrixMultiply() function
9 years ago
raysan5
891c4a458a
Matrix variables renaming
9 years ago
raysan5
95da97fa74
Fixed bug: rlglGenerateMipmaps()
9 years ago
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.
9 years ago
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.
9 years ago
Ray
a6f5a0339a
Corrected bug
9 years ago
Ray
88e1fd9530
Added texture retrieval support on OpenGL ES 2.0
Updated functions:
Image GetTextureData(Texture2D texture);
void *rlglReadTexturePixels(Texture2D texture);
9 years ago
Ray
5208d57f1e
Corrected alpha issue on screenshots taken
9 years ago
Ray
76024b5036
Added some texture functionality (view details)
LoadTextureEx() - Simplified parameters
UpdateTexture() - Added, allows updating GPU texture data
9 years ago
Ray San
d1f099374c
Added support for s3tc compression on web
9 years ago
Ray
8c117cfb57
Reviewed NPOT messages and usage
9 years ago
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-
9 years ago
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!
9 years ago
raysan5
ef1f9fe450
Added strdup() function replacement
strdup() is not a C99 function (it's POSIX), not available in emscripten
10 years ago
raysan5
94d0e83207
Corrected crazy bug about model textures
On OpenGL ES it was set to use GL_CLAMP_TO_EDGE wrap mode for textures.
On LoadOBJ() texture coordinates were wrongly Y-flipped
10 years ago
raysan5
4879106096
Reviewed to work on Raspberry Pi
[rlgl] Extensions strings loading was redone to avoid a Segmentation
Fault on Raspberry Pi
10 years ago
raysan5
94a1fdc2ae
Updated some comments
10 years ago
raysan5
aa982f80f5
Reviewed some comments
10 years ago
raysan5
055d8927cc
Small code tweaks
10 years ago