raysan5
037edbaa13
Reorganize data for consistency
9 years ago
raysan5
075f51e0a3
Simplified internal (default) dynamic buffers
9 years ago
raysan5
6acfda599e
Support indexed mesh data on OpenGL 1.1 path
Keep asking myself why I maintain this rendering path... -___-
9 years ago
raysan5
1ddf594d15
Added support for indexed mesh data
9 years ago
Ray
c85cd29049
Added defines for default shader names
9 years ago
Ray
f7d4951165
Improved vertex attribs support for models
9 years ago
raysan5
0bcb873cbb
Improved mesh support
Depending on mesh data, it can be loaded and default vertex attribute
location points are set, including colors, tangents and texcoords2
9 years ago
raysan5
eeb151586f
Corrected issues with OpenGL 1.1 backend
9 years ago
raysan5
7ab008878a
Library redesign to accomodate materials system
9 years ago
raysan5
8301980ba8
Clean up and consistency review
- Renamed some functions for consistency (default buffers)
- Removed mystrdup() function (implemented inline)
- Renamed TextFileRead() to ReadTextFile()
9 years ago
Ray
2646ed0393
Removed debug functions
9 years ago
Ray
0e6d1cb272
Working on materials system...
9 years ago
Ray
1fb874cdc5
Check for WebGL/Webkit extensions
Improve DXT-ETC1 support on HTML5
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