Wilhem Barbier
056a494baf
Fix some other typos
7 anos atrás
Ray
20d205cae5
Working on examples...
7 anos atrás
Ray
dd4dd0e87d
Reorganize examples folder
7 anos atrás
Ray
37a64df7b9
Move lighting system out of raylib
Lighting is implemented as a raylib example now
8 anos atrás
Ray
f164ec80d6
Upload wave collector - GGJ17 game
8 anos atrás
raysan5
648676f46b
Update examples to new camera system
8 anos atrás
Ray
904ef0d4be
Adjust to standard example screen size
8 anos atrás
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...
8 anos atrás
Ray
caa7bc366b
Reviewed DrawLight() function and some tweaks
8 anos atrás
victorfisac
11cf455fe0
Standard Lighting (3/3)
- Added normal and specular maps to standard shader.
- Added full tint attribute to standard shader and material data type.
- Changed point light attenuation to radius.
8 anos atrás
victorfisac
0ff26f527f
Added normal and specular maps logic to standard...
...shader and updated example.
8 anos atrás
raysan5
48374c85dd
Some tweaks
It seems there are some problems with DrawLights()
8 anos atrás
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.
8 anos atrás
raysan5
29761c2519
Testing new material usage
8 anos atrás
raysan5
1d545449bb
Reviewed shaders and added comments
8 anos atrás
raysan5
d8bd8634ab
3d Camera: Added support for field-of-view Y
8 anos atrás
raysan5
183795b8aa
Review literals type
9 anos atrás
raysan5
acc322b3e1
Added new examples: SHADERS
9 anos atrás
raysan5
ca402e9d36
New examples added (with some resources)
9 anos atrás
raysan5
8745d733f9
Replaced 3d model example resources
Cat replaced by dwarf
9 anos atrás
raysan5
51688c004c
Code cleaning, removed useless spaces
10 anos atrás
raysan5
5ecb6801fa
Examples renaming and test examples merge
Examples have been renamed for coherence with raylib modules and test
examples have been merged into examples folder.
10 anos atrás
Ray
3a0d164a76
Rename ex07c_3d_models.c to models_obj_loading.c
10 anos atrás
raysan5
01651af08a
Update examples and remove .exe
10 anos atrás
raysan5
5e2e9aa23e
Corrected bug with DrawModel()
10 anos atrás
raysan5
62f298ce54
Updated
11 anos atrás
raysan5
6f9d7db4ad
Updated
11 anos atrás
raysan5
e9143b8a8d
Added some functions and Updated examples
View CHANGELOG for details
11 anos atrás
Ray
818e79638b
Replaced tabs by 4 spaces
11 anos atrás
raysan5
1a8cdc10b7
Added some examples
11 anos atrás