victorfisac
dcd6942ed1
Fix small bug and spacing
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年前
victorfisac
30941c0dd1
Add Draw3DLine function and fixed MLT glossiness import value
In standard shader, material glossiness is a value from 0 to 1000 like
in MLT files. So, it doesn't need to be normalized.
9年前
victorfisac
cf71e1242e
Fix some audio module compile warnings
9年前
victorfisac
30c8058fca
Add standard lighting (1/3)
- Ambient and lambert lighting added.
- Ambient and diffuse colors linked to standard shader.
- Single light linked to standard shader.
- LoadStandardMaterial() and depending functions added.
9年前
raysan5
6dac1efefe
Comented buggy code to avoid problems...
...on model drawing
9年前
victorfisac
3fa6fdacf2
Improved MTL loading shininess value
9年前
victorfisac
90c62c4cc0
Fix small warning
Material glossiness is a float type value...
9年前
raysan5
dcf5f45f68
Add lighting system -IN PROGRESS-
Improved materials
9年前
raysan5
af890cf210
Updated to avoid pointers
9年前
raysan5
c9e30f7754
Review struct typedef to avoid pointers for users
9年前
raysan5
03cc031d00
Remove TODO comments (already done)
9年前
raysan5
7d1d9ff143
Support DYNAMIC_DRAW mesh loading
9年前
Joshua Reisenauer
179f2f9e4f
windows automated compile
Only works when raylib is installed on windows system.
9年前
Joshua Reisenauer
41c5f3a017
Buffer for raw audio
9年前
Joshua Reisenauer
b10425492a
name correction
9年前
raysan5
8bbbe8cd76
Corrected namings
9年前
raysan5
037edbaa13
Reorganize data for consistency
9年前
Joshua Reisenauer
76ff4d220e
renamed everything so it is obvious what it does
9年前
Joshua Reisenauer
86fbf4fd8f
logic bug fix
9年前
Joshua Reisenauer
d38d7a1bed
clean up on buffering and preconditions
9年前
Joshua Reisenauer
8c5d403dda
new function to check if music stream is ready
_g naming convention for globals, new error exit numbers.
9年前
Joshua Reisenauer
ea4b5552c2
corrected typos
9年前
Chris Hemingway
b46a800597
Make GRAPHICS_API_OPENGL_33 work on OSX, closes #113
9年前
Joshua Reisenauer
5107a2dc40
bug fixes
9年前
Joshua Reisenauer
83dbc07650
buffering of music now uses update audio context
9年前
raysan5
e060944b34
Added QuaternionInvert()
9年前
raysan5
075f51e0a3
Simplified internal (default) dynamic buffers
9年前
Joshua Reisenauer
f0ada8c40d
apply index to remaining functions
9年前
Joshua Reisenauer
9737c58054
PlayMusicStream now uses index
9年前
Joshua Reisenauer
ad3d270c42
added set pitch for music streams
9年前
raysan5
4d78d27bd9
Updated structs Mesh and Shader
9年前
Joshua Reisenauer
6db44500b7
adding multiple music streams
9年前
raysan5
6acfda599e
Support indexed mesh data on OpenGL 1.1 path
Keep asking myself why I maintain this rendering path... -___-
9年前
raysan5
5c112ff542
Corrected tipo
9年前
raysan5
aee5d9a390
Code tweak
9年前
raysan5
1ddf594d15
Added support for indexed mesh data
9年前
Joshua Reisenauer
b7f8e97b03
final fix for audiocontext system
now it works
9年前
Ray
ac44db26a2
Added reference
9年前
Ray
c85cd29049
Added defines for default shader names
9年前
Ray
3d0208223a
First implementation of MTL loading
Not tested yet
9年前
Ray
dc4d5dabcd
Added MTL loading info
9年前
Ray
f7d4951165
Improved vertex attribs support for models
9年前
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年前
raysan5
eeb151586f
Corrected issues with OpenGL 1.1 backend
9年前
raysan5
7ab008878a
Library redesign to accomodate materials system
9年前
raysan5
ec72a8868e
Comment tweak
9年前
raysan5
fd67e31f63
Renamed function for consistency
9年前
raysan5
8301980ba8
Clean up and consistency review
- Renamed some functions for consistency (default buffers)
- Removed mystrdup() function (implemented inline)
- Renamed TextFileRead() to ReadTextFile()
9年前
raysan5
5f73850fa6
Renamed functions for consistency
9年前